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

Upgrade stepnumber may change when resuming an upgrade

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.4.0
    • None
    • backend
    • Not defined

    Description

      Context:

      We are currently keeping track of upgrades step by their type, the indices they upgrade and the `stepNumber`. Unfortunately, sometimes the number of steps in an upgrade are data dependent, which results in a different number of steps depending on the state of data when the upgrade was started. The upgrade stepNumber is therefore not a reliable way of tracking upgrade progress in the context of a resumed upgrade.
      For example: in the current upgrade, we create a list of upgrade steps that reindex instance data to new instance indices, and then later delete the old instance index. This means that if an upgrade is resumed after the old instance index is already deleted, there are no more definition keys to create new instance indices for, which means there will be a different number of upgrade steps.

       

      AT:

      • Upgrade stepnumber is no longer used as identification of which upgrade steps have already run

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce