Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use aliases for reopened indices #3897
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
2 times, most recently
Jun 12, 2017
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.
That was both with rebased to master and without.
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!
Apart from the comments, there's another change required in the archive code base, which I'll push myself (simple Gson to ObjectMapper change).