Status observer subscription/unsubscription can cause import scheduler to get stuck

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Done
    • Priority: L3 - Default
    • 3.2.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • Not defined

      Currently, the import scheduler iterates through its existing observers to notify status updates. However, it doesn't synchronize on the synchronized observer list when doing this iteration. It might be that new subscriptions/unsubscriptions that occur at the same time as this iteration could cause a race condition that blocks importing, possibly causing the issue reported in https://jira.camunda.com/browse/SUPPORT-8453.

      Given:

      I am running Optimize docker and I have open status connections

      When:

      The status of connections change

      Then:

      The engine import is unaffected and continues as expected

       

      ATs:

      • We iterate through the observers in accordance with the synchronized list API

            Assignee:
            Unassigned
            Reporter:
            Joshua Windels
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: