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

Replace index name to default as type source during UpdateIndexStep execution

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0-alpha1, 3.0.0
    • None
    • backend
    • None
    • 170

    Description

      When we migrated the ES type to use the default value, the source type remained as the index name to allow for the reindexing to work during the migration. In future, the source will always be the default value so this can be replaced in that step. See here for context: https://github.com/camunda/camunda-optimize/pull/1130#discussion_r336556295
      There are also some if guards in the ES client that retains types as well as adding the default value. This type retention (for example on SearchRequests) can be removed after this migration. The callers should also stop setting types in the first place as the client will override its value.

      AT:

      • UpdateIndexStep always uses the default ES type as its source type during upgrades
      • The types are set universally in the ES Client and the adjustor, plus any tests that verify working migrations
      • The upgrade tests remove the custom schema setup methods that facilitated the migration

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              joshua.windels Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce