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

            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: