OpenSearch/server
Armin Braun c1be7a802c
Simplify Snapshot Delete Process (#47439) (#47533)
We don't need to read the SnapshotInfo for a
snapshot to determine the indices that need to
be updated when it is deleted as the `RepositoryData`
contains that information already.
This PR makes it so the `RepositoryData` is used to
determine which indices to update and also removes
the special handling for deleting snapshot metadata
and the CS snapshot blob and has those simply be
deleted as part of the deleting of other unreferenced
blobs in the last step of the delete.

This makes the snapshot delete a little faster and
more resilient by removing two RPC calls
(the separate delete and the get).

Also, this shortens the diff with #46250 as a
side-effect.
2019-10-04 13:55:16 +02:00
..
licenses Update joda to 2.10.3 (#45495) 2019-08-23 10:39:39 +02:00
src Simplify Snapshot Delete Process (#47439) (#47533) 2019-10-04 13:55:16 +02:00
build.gradle Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00