- 
    Type:Task 
- 
    Resolution: Fixed
- 
    Priority:L3 - Default 
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
        Not defined
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