OpenSearch/server
David Turner 9baea80853 Ignore metadata of deleted indices at start (#48918)
Today in 6.x it is possible to add an index tombstone to the graveyard without
deleting the corresponding index metadata, because the deletion is slightly
deferred. If you shut down the node and upgrade to 7.x when in this state then
the node will fail to apply any cluster states, reporting

    java.lang.IllegalStateException: Cannot delete index [...], it is still part of the cluster state.

This commit addresses this situation by skipping over any index metadata with a
corresponding tombstone, allowing this metadata to be cleaned up by the 7.x
node.
2019-11-12 11:16:54 +00:00
..
licenses Upgrade to joda 2.10.4 (#47805) 2019-10-31 14:49:50 +01:00
src Ignore metadata of deleted indices at start (#48918) 2019-11-12 11:16:54 +00:00
build.gradle Improve resiliency to auto-formatting in server (#48940) 2019-11-11 14:33:04 +00:00