OpenSearch/server
Armin Braun 93fcd23da8
Fail Snapshot on Corrupted Metadata Blob (#47009) (#47096)
We should not be quietly ignoring a corrupted shard-level index-N
blob. Simply creating a new empty shard-level index-N and moving
on means that all snapshots of that shard show `SUCESS` as their
state at the repository root but are in fact broken.
This change at least makes it visible to the user that they can't
snapshot the given shard any more and forces the user to move on
to a new repository since the current one is broken and will not
allow snapshotting the inconsistent shard again.

Also, this change stops the delete action for shards with broken
index-N blobs instead of simply deleting all blobs in the path
containing the broken index-N. This prevents a temporarily
broken/missing index-N blob from corrupting all snapshots of
that shard.
2019-09-25 15:55:33 +02:00
..
licenses Update joda to 2.10.3 (#45495) 2019-08-23 10:39:39 +02:00
src Fail Snapshot on Corrupted Metadata Blob (#47009) (#47096) 2019-09-25 15:55:33 +02:00
build.gradle Upgrade HPPC to version 0.8.1 (#43025) 2019-06-12 13:14:16 +02:00