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

Import intitialization race condition when status endpoint is called

    XMLWordPrintable

Details

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

    Description

      Context:
      During random upgrade test failure I encountered a bug that can happen when the status endpoint is called when concurrently the import is still initialized

      See attached logs that also contains explanations.

      AT:

      • EngineImportSchedulerFactory.getImportSchedulers should either by synchronized or even be part of the initialization of the bean (or both) so we can't run into such race-condition

      Hint:
      This can get caused either by container health checks using that endpoint (like it did for me during testing) but also by userRequests when Optimize starts (which may happen on restarts).

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce