-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add setting to use document replication for system indices. #802
Conversation
Signed-off-by: Rishikesh1159 <[email protected]>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #802 +/- ##
============================================
- Coverage 73.37% 72.88% -0.49%
+ Complexity 1006 1003 -3
============================================
Files 141 141
Lines 4650 4651 +1
Branches 521 521
============================================
- Hits 3412 3390 -22
- Misses 910 933 +23
Partials 328 328
... and 5 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@@ -265,6 +266,7 @@ class ReplicationMetadataStore constructor(val client: Client, val clusterServic | |||
.put(IndexMetadata.INDEX_AUTO_EXPAND_REPLICAS_SETTING.key, "0-1") | |||
.put(IndexMetadata.INDEX_PRIORITY_SETTING.key, Int.MAX_VALUE) | |||
.put(IndexMetadata.INDEX_HIDDEN_SETTING.key, true) | |||
.put(IndexMetadata.INDEX_REPLICATION_TYPE_SETTING.key, ReplicationType.DOCUMENT) // System Indices should use Document Replication strategy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you confirm that INDEX_REPLICATION_TYPE_SETTING
is not behind feature flag for Segment Replication?
Just trying to ensure that this setting is available always.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes INDEX_REPLICATION_TYPE_SETTING
is not behind feature flag anymore. We have removed the feature flag in PR: opensearch-project/OpenSearch#7045, you can see this here it is directly added as built in index setting and not gated by any feature flag.
Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 55b6968)
Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 55b6968)
) Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 55b6968) Co-authored-by: Rishikesh Pasham <[email protected]>
) Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 55b6968) Co-authored-by: Rishikesh Pasham <[email protected]>
…ch-project#802) (opensearch-project#803) Signed-off-by: Rishikesh1159 <[email protected]> (cherry picked from commit 55b6968) Co-authored-by: Rishikesh Pasham <[email protected]>
…pensearch-project#802)" This reverts commit 55b6968. Signed-off-by: monusingh-1 <[email protected]>
…802)" (#1107) This reverts commit 55b6968. Signed-off-by: monusingh-1 <[email protected]>
…802)" (#1107) This reverts commit 55b6968. Signed-off-by: monusingh-1 <[email protected]> (cherry picked from commit 9750b78)
…802)" (#1107) (#1108) This reverts commit 55b6968. Signed-off-by: monusingh-1 <[email protected]> (cherry picked from commit 9750b78) Co-authored-by: Monu Singh <[email protected]>
Description
This PR adds settings for system indices to use document replication strategy.
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.