forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert aborted snapshots have no pending shard work (elastic#102621)
When a snapshot is aborted, all shard snapshots must either be complete (`SUCCESS`, `FAILED` or `MISSING`) or else they must be in state `ABORTED` while the data node finishes its work. It seems we do not check this invariant anywhere today, so this commit adds an assertion of this invariant.
- Loading branch information
1 parent
b493409
commit 4bc4911
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters