Motivation and Context
Before this change, a custom index setting (
This change now creates a special alias (
This change is downwards-compatible in that it includes a migration job that creates aliases for every index which is marked as reopened (either by using
This change requires #3896 to be merged before.
Types of changes
kroepke left a comment
I tested an upgrade from 2.4.2 to 5.4.2 while having a single reopened index from the master version of this code.
Testing this code and closing/reopening indices both on 2.4.2 and 5.4.2 worked as expected, only the upgrade seems to have a problem.
Apart from the comments, lgtm!