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

Fail Optimize Startup on schema version mismatch

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: backend
    • Labels:
      None

      Description

      AT:

      • Optimize startup aborts if the elasticsearch schema doesn't comply to the Optimize version started (due to no upgrade run, upgrade failed, starting an older Optimize version etc.)
      • Optimize startup aborts before any elasticsearch schema initialization/mapping updating is done (the schemaManager tries to initialize missing indexes or updates existing ones, this should only happen if there is no version in metadata yet or if it matches the current version)

      Context:
      The metadataVersion check is currently done after the SchemaManager has already run, this could lead to inconsistent index setup if Optimize is started before an upgrade or an older version of Optimize after an upgrade etc.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: