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

Speed up the upgrade process for large data by using aliases

    Details

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

      Description

      Currently, all upgrade steps that require a reindex perform the reindex twice.
      We should create an alias for each index and do the reindex only once and update the alias afterwards.

      Keep in mind that redirecting the indexes to aliases also needs to be part of an upgrade step.

      Performance of the upgrade is monitored with OPT-1544.

        Issue Links

          Activity

          Hide
          johannes.heinemann Johannes Heinemann added a comment -

          Review hints:

          Show
          johannes.heinemann Johannes Heinemann added a comment - Review hints: A couple of review hints in the code: https://github.com/camunda/camunda-optimize/commit/9a5f8f542208372a56df529ebcbc9aa30e0b3df https://github.com/camunda/camunda-optimize/commit/d5fbcc8ad86a3edd4c65ce11485e6a1e283dedc3 You changed the setting, so you need to adjust the configuration section in documentation as well (see here ): the entry in the table which describes the setting the default configuration: https://docs.camunda.org/optimize/develop/technical-guide/configuration/service-config.yaml I need to discuss with you the removal of the upgrade steps. I'm not sure if that's a good idea.
          Show
          sebastian.bathke Sebastian Bathke added a comment - docs updated https://github.com/camunda/camunda-docs-optimize/commit/5eea129eb9ffd73fee3da7855093473d0f427d70
          Hide
          sebastian.bathke Sebastian Bathke added a comment -
          Show
          sebastian.bathke Sebastian Bathke added a comment - commit comments also resolved, thx for the feedback! https://github.com/camunda/camunda-optimize/commit/f49ed675b719a17c04864bf27aac68140a383bb8
          Hide
          johannes.heinemann Johannes Heinemann added a comment -

          Looks good!

          Show
          johannes.heinemann Johannes Heinemann added a comment - Looks good!

            People

            • Assignee:
              Unassigned
              Reporter:
              johannes.heinemann Johannes Heinemann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: