Make Optimize Reimport delete indices by fetching their names first

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.10.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently our Reimport mechanism, deletes all indices in ES by using a wildcard. This is not possible in ES8 unless the configuration

      action.destructive_requires_name

      is set to

      false
      

      That happens because unlike ES7 the configuration is automatically set to true in ES8.

      ATs:

      • We now fetch the names of all indices which we wanna delete before deleting them instead of using a wildcard
      • We can write an IT to verify this behavious if possible

      Testing Notes:
      1. Start Optimize 3.10.x with ES 8.5.0 with data
      2. Do not stop ES
      3. Stop Optimize
      4. Go to reimport folder, run ./reimport

            Assignee:
            Unassigned
            Reporter:
            Andromachi Rozaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: