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

Avoid race condition when resetting running instance import index

    • Not defined

      Context:

      With OPT-3505, Optimize now re-imports running process instances if specific suspension operations have occured. In some cases this is done by re-importing specific instances, but in the case of batch suspension operations all instances have to be re-imported, which is currently achieved by resetting the import index. However, this could lead to a potential race condition as described in the comment here: https://github.com/camunda/camunda-optimize/pull/2074#discussion_r435817458.

      To avoid this race condition, we need a way to clear the queue of the running instance import before resetting the index timestamps.

       

      AT:

      • The above described race condition is avoided by resetting any potential current import jobs before resetting the import index

        This is the controller panel for Smart Panels app

            [OPT-3819] Avoid race condition when resetting running instance import index

            Helene Waechtler created issue -
            Helene Waechtler made changes -
            Link New: This issue depends on OPT-3505 [ OPT-3505 ]
            Sebastian Bathke made changes -
            Assignee New: Sebastian Bathke [ sebastian.bathke ]
            Sebastian Bathke made changes -
            Labels Original: current_release
            Johannes made changes -
            Labels New: potential_for_next_quarter
            Sebastian Bathke made changes -
            Labels Original: potential_for_next_quarter New: potential_for_next_quarter should_have
            Joshua Windels made changes -
            Labels Original: potential_for_next_quarter should_have New: maintenance potential_for_next_quarter should_have
            Sebastian Bathke made changes -
            Assignee Original: Sebastian Bathke [ sebastian.bathke ]

            This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10512. Please use this link for any future references and continue any discussion there.

            Omran Abazeed added a comment - This ticket was migrated to github: https://github.com/camunda/camunda-optimize/issues/10512 . Please use this link for any future references and continue any discussion there.

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: