Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-4256

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

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Done
    • L3 - Default
    • 3.2.0
    • None
    • backend
    • None
    • Not defined

    Description

      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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce