Added Search Only strict routing setting#17803
Merged
mch2 merged 4 commits intoopensearch-project:mainfrom Apr 8, 2025
Merged
Conversation
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Contributor
|
❌ Gradle check result for 48f1dbc: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Closed
4 tasks
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Contributor
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17803 +/- ##
============================================
- Coverage 72.46% 72.24% -0.22%
+ Complexity 66502 66403 -99
============================================
Files 5408 5408
Lines 308080 308160 +80
Branches 44720 44736 +16
============================================
- Hits 223239 222622 -617
- Misses 66536 67342 +806
+ Partials 18305 18196 -109 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
mch2
approved these changes
Apr 7, 2025
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Contributor
Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
Contributor
|
❌ Gradle check result for 033c4c2: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Contributor
mch2
approved these changes
Apr 8, 2025
Harsh-87
pushed a commit
to Harsh-87/OpenSearch
that referenced
this pull request
May 7, 2025
* Added Search Only strict routing setting Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Added Changelog Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> Signed-off-by: Harsh Kothari <techarsh@amazon.com>
Harsh-87
pushed a commit
to Harsh-87/OpenSearch
that referenced
this pull request
May 7, 2025
* Added Search Only strict routing setting Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> * Added Changelog Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> --------- Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com> Signed-off-by: Harsh Kothari <techarsh@amazon.com>
This was referenced Jan 7, 2026
docs: add reader-writer-separation feature report for v3.0.0
tkykenmt/opensearch-feature-explorer#37
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Setting
cluster.routing.search_only.strictBy default value of this setting will be
trueand its applicable only if the search replicas exist for an index ieindex.number_of_search_only_replicasfor an index is greater than 0.If the search replicas exists for an index by default
_searchrequests will be routed to search replicas. But when we have search replicas value ofcluster.routing.search_only.strict settingcan madefalseso that_searchrequests can land on any available shard.Related Issues
Resolves #17424
Related #15306
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.