forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Segment Replication] Update RefreshPolicy.WAIT_UNTIL for replica sha…
…rds with segment replication enabled to wait for replica refresh (opensearch-project#6464) * Initial draft PR for wait_until with segrep Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Refactor code and fix test failures. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * add comments and fix tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Refactor code, address comments and fix test failures. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Aplly spotless check Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Adress comments and add integ test. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Address comments and fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fixing failing test. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Remove unused code. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Addressing comments and refactoring Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Adding max refreshlisteners limit that a replica shard can hold and force refresh. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Changing assert message Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix call to release refresh listeners on replica shards. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix call to release refresh listeners on replica shards. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Address comments. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fixing compile errors. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Spoltss Apply Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> --------- Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
- Loading branch information
1 parent
13d336c
commit e8a4210
Showing
15 changed files
with
384 additions
and
45 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
Oops, something went wrong.