Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore metadata of deleted indices at start #48918

Merged

Commits on Nov 9, 2019

  1. Ignore metadata of deleted indices at start

    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.
    DaveCTurner committed Nov 9, 2019
    Configuration menu
    Copy the full SHA
    5f08e1f View commit details
    Browse the repository at this point in the history
  2. Checkstyle

    DaveCTurner committed Nov 9, 2019
    Configuration menu
    Copy the full SHA
    d7b35ba View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. Configuration menu
    Copy the full SHA
    cfd66a5 View commit details
    Browse the repository at this point in the history