forked from opensearch-project/OpenSearch
-
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.
Add node id to segment and translog metadata (opensearch-project#10229)
* Adding node id to segment and translog metadata Adding validation to identify multiple writers to same primary term and generation in remote store Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Fix bug to find node id Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Spotless fix Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Moving node id before uuid as it was interfering with _ character split Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Removing uuid from segment metadata file Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * simplifying the detection logic Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * PR comments Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Addressing PR comments Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * Adding translog gen to remote segment metadata fn as well Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * spotless fix Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * reducing METADATA_FILES_TO_FETCH to 10 Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> * adding missing import Signed-off-by: Gaurav Bafna <gbbafna@amazon.com> --------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
- Loading branch information
Showing
25 changed files
with
445 additions
and
78 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
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
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.