Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[STORE] Allow to get metadata from arbitrary commit points
Today we always use the latest commit point to return the metadata from the store. This might cause problems for snapshot and restore since in contrast to recovery it won't prevent concurrent flushes (lucene commits). This can lead to all kinds of interesting effects if we are snapshotting while flushing. This change uses the IndexCommit to open the metadata snapshot from the store which is consistent with what we snapshot. Closes #7376
- Loading branch information
Showing
4 changed files
with
30 additions
and
13 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
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