-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handling of an empty shard's segments_N file
When trying to restore a snapshot of an index created in a previous version of Elasticsearch, it is possible that empty shards in the snapshot have a segments_N file that has an unsupported Lucene version and a missing checksum. This leads to issues with restoring the snapshot. This commit handles this special case by avoiding a restore of a shard that has no data, since there is nothing to restore anyway. Closes #18707
- Loading branch information
Ali Beyad
committed
Jun 10, 2016
1 parent
d733fb6
commit 43e07c0
Showing
10 changed files
with
188 additions
and
130 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
Oops, something went wrong.