-
Notifications
You must be signed in to change notification settings - Fork 2.3k
add graceful handling of failures in QueryPhaseResultConsumer #19231
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
Conversation
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
|
❌ Gradle check result for fb09d68: 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? |
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
fb09d68 to
6207664
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19231 +/- ##
============================================
+ Coverage 72.81% 72.86% +0.05%
- Complexity 69631 69666 +35
============================================
Files 5658 5658
Lines 320087 320096 +9
Branches 46345 46347 +2
============================================
+ Hits 233057 233230 +173
+ Misses 68118 67985 -133
+ Partials 18912 18881 -31 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
server/src/main/java/org/opensearch/action/search/QueryPhaseResultConsumer.java
Show resolved
Hide resolved
jainankitk
left a comment
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.
Thanks @kaushalmahi12 for addressing this flaky test. LGTM!
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> Signed-off-by: Ankit Jain <jainankitk@apache.org>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
…arch-project#19231) --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
Description
In the current shard level query phase result consumption logic we have incorrect handling of the result consumption callbacks.
The callbacks should always be executed irrespective of whether the error has occurred or not while processing shard level query results.
This change closes those incomplete callback loops by
Related Issues
Resolves #19094
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.