Add support for a queue barrier setting for datum imports

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major
    • Component/s: Datum Import
    • None

      SolarNetwork runs datum import jobs in parallel, going from oldest to newest, but it can happen that multiple imports are queued that, when executed in parallel, cause a deadlock because they overwrite the same datum.

      A solution to prevent this is to add a "barrier" key to the import configuration. If provided, SolarNet would guarantee that only one import per key happened at once. They actual barrier key value used internally must be a combination of the import account's user ID + provided barrier key, so different users can provide the same key value without impacting each other.

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: