Skip to content
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

[Backport 2.x] add request failure listener to track failures at query group level (#15527) #15539

Merged
merged 2 commits into from
Aug 31, 2024

Conversation

kaushalmahi12
Copy link
Contributor

Backport PR for #15527

…oject#15527)

* add workload managementRequestFailureListener

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* add unit tests

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* add CHANGELOG

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* add missing javadoc

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* refactor

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* address comments

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

* rename listener instance

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>

---------

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
@msfroh msfroh changed the title Backport 2.x (#15527) [Backport 2.x] add request failure listener to track failures at query group level (#15527) Aug 30, 2024
Copy link
Contributor

❌ Gradle check result for c9d0e76: 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>
Copy link
Contributor

✅ Gradle check result for 7400c11: SUCCESS

Copy link

codecov bot commented Aug 31, 2024

Codecov Report

Attention: Patch coverage is 96.15385% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.58%. Comparing base (a2b6f8c) to head (7400c11).
Report is 3 commits behind head on 2.x.

Files with missing lines Patch % Lines
...java/org/opensearch/wlm/stats/QueryGroupState.java 60.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #15539      +/-   ##
============================================
- Coverage     71.73%   71.58%   -0.15%     
+ Complexity    63721    63679      -42     
============================================
  Files          5235     5235              
  Lines        297971   298158     +187     
  Branches      43363    43411      +48     
============================================
- Hits         213741   213433     -308     
- Misses        66369    66894     +525     
+ Partials      17861    17831      -30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jainankitk jainankitk merged commit 6ab7538 into opensearch-project:2.x Aug 31, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants