[RW Separation] Provide clear information when a query exception occurs due to the number of search only shards being 0#21100
Conversation
…rovide clear exception information. Signed-off-by: guojialiang <guojialiang.2012@bytedance.com>
PR Reviewer Guide 🔍(Review updated until commit 798e29e)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 798e29e
Previous suggestionsSuggestions up to commit 9cf6116
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21100 +/- ##
============================================
+ Coverage 73.20% 73.27% +0.07%
- Complexity 72751 73106 +355
============================================
Files 5871 5921 +50
Lines 332688 333653 +965
Branches 48017 48111 +94
============================================
+ Hits 243543 244489 +946
+ Misses 69625 69614 -11
- Partials 19520 19550 +30 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: guojialiang <guojialiang.2012@bytedance.com>
|
Persistent review updated to latest commit 798e29e |
|
Hi, @prudhvigodithi |
|
This PR is stalled because it has been open for 30 days with no activity. |
Description
I have provided clear error messages for the following two scenarios.
"_search_replica"&& the number of search only shards is0"_search_replica"&& the number of search only shards is0&&INDEX_BLOCKS_SEARCH_ONLY_SETTINGistrueRelated Issues
Resolves #[21099]
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.