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

[WLM] Fix the QueryGroupTask logging bug #17169

Conversation

kaushalmahi12
Copy link
Contributor

@kaushalmahi12 kaushalmahi12 commented Jan 28, 2025

This change is taken from the PR: #16981 which fixes the #16874 bug.

* add wlm support for scroll API

Signed-off-by: Kaushal Kumar <[email protected]>

* add CHANGELOG entry

Signed-off-by: Kaushal Kumar <[email protected]>

* remove untagged tasks from WLM tracking

Signed-off-by: Kaushal Kumar <[email protected]>

* add UTs for invalid tasks

Signed-off-by: Kaushal Kumar <[email protected]>

* fix UT failures

Signed-off-by: Kaushal Kumar <[email protected]>

* rename a field in QueryGroupTask

Signed-off-by: Kaushal Kumar <[email protected]>

---------

Signed-off-by: Kaushal Kumar <[email protected]>
@jainankitk
Copy link
Collaborator

@kaushalmahi12 - We can probably skip the change for scroll API in 2.x, as even without that, the bug should get fixed?

Copy link
Contributor

✅ Gradle check result for 8251a83: SUCCESS

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.91%. Comparing base (1c7f719) to head (8251a83).

Files with missing lines Patch % Lines
...rch/action/search/TransportSearchScrollAction.java 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #17169      +/-   ##
============================================
+ Coverage     71.89%   71.91%   +0.01%     
- Complexity    65852    65889      +37     
============================================
  Files          5332     5332              
  Lines        306587   306594       +7     
  Branches      44720    44721       +1     
============================================
+ Hits         220429   220482      +53     
+ Misses        67754    67734      -20     
+ Partials      18404    18378      -26     

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

CHANGELOG.md Outdated Show resolved Hide resolved
@kaushalmahi12 kaushalmahi12 changed the title [backport 2.x][WLM] Add wlm support for scroll API (#16981) [WLM] Fix the QueryGroupTask logging bug Jan 28, 2025
@kaushalmahi12 kaushalmahi12 force-pushed the backport-2.x/scroll-api-fix branch from ec3dec0 to d7be772 Compare January 29, 2025 00:10
@kaushalmahi12 kaushalmahi12 force-pushed the backport-2.x/scroll-api-fix branch from d7be772 to 11bd8bd Compare January 29, 2025 00:17
Copy link
Contributor

❌ Gradle check result for 11bd8bd: TIMEOUT

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?

@andrross
Copy link
Member

@kaushalmahi12 - We can probably skip the change for scroll API in 2.x, as even without that, the bug should get fixed?

@jainankitk @kaushalmahi12 FYI constructors can be exempt from the compatibility check as most API classes are not meant to be constructed by downstream components. See #14575

@jainankitk
Copy link
Collaborator

Thanks @andrross for sharing. Good to know about this!

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.

3 participants