forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Segment Replication] Allow Cluster Setting to enable default Replica…
…tion type (opensearch-project#7420) * Add cluster setting to enable default replication type at cluster level. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * update opensearch.yml file Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix failing unit test. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Apply spotlesscheck. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Address comments on PR. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix Failing Tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix test index name Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * add logic for system indices to always use document replication. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * remove unnecessary logic. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * fix failing tests Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Refactor and add additional assert for segRepEnabled. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * refactor code. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Fix failing tests. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * remove unnecessary code logic and test Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Refactor back to having boolean value of system index, Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * Add unit test for system index check and some refactor. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> * add changelog entry. Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> --------- Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com> Signed-off-by: Rishikesh Pasham <62345295+Rishikesh1159@users.noreply.github.com>
- Loading branch information
1 parent
32956a1
commit 4470aa5
Showing
8 changed files
with
310 additions
and
81 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
Oops, something went wrong.