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

Do not load global state when deleting a snapshot #29278

Merged
merged 2 commits into from
Mar 29, 2018

Commits on Mar 28, 2018

  1. Do not load global state when deleting a snapshot

    When deleting a snapshot, it is not necessary to load and to parse the
    global metadata of the snapshot to delete. Now indices are stored in
    the snapshot metadata file, we have all the information to resolve the
    shards files to delete.
    
    This commit removes the readSnapshotMetaData() method that was used to
    load both global and index metadata files. Test coverage should be
    enough as SharedClusterSnapshotRestoreIT already contains several
    deletion tests.
    
    Related to elastic#28934
    tlrx committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    a258158 View commit details
    Browse the repository at this point in the history
  2. Add test

    tlrx committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    0b859ba View commit details
    Browse the repository at this point in the history