-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[WLM] Rename queryGroup to workloadGroup #17901
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] Rename queryGroup to workloadGroup #17901
Conversation
Signed-off-by: Kaushal Kumar <[email protected]>
Signed-off-by: Kaushal Kumar <[email protected]>
❌ Gradle check result for 618284d: 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 <[email protected]>
❌ Gradle check result for 6244dd8: 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 <[email protected]>
❌ Gradle check result for e40c692: 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? |
@shwetathareja @backslasht Can you verify the metadata part on this PR ? |
❌ Gradle check result for e40c692: 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? |
❌ Gradle check result for e40c692: 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? |
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 this PR. Let us not edit release notes for old versions, otherwise mostly looks good!
.../workload-management/src/yamlRestTest/resources/rest-api-spec/test/wlm/10_workload_group.yml
Outdated
Show resolved
Hide resolved
Signed-off-by: Kaushal Kumar <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17901 +/- ##
============================================
- Coverage 72.43% 72.41% -0.03%
- Complexity 66789 66790 +1
============================================
Files 5449 5451 +2
Lines 309085 309156 +71
Branches 44979 44988 +9
============================================
- Hits 223899 223867 -32
- Misses 66906 66999 +93
- Partials 18280 18290 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
* rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * fix propagated headers Signed-off-by: Kaushal Kumar <[email protected]> * add changelog entry Signed-off-by: Kaushal Kumar <[email protected]> * rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * resolve comments Signed-off-by: Kaushal Kumar <[email protected]> --------- Signed-off-by: Kaushal Kumar <[email protected]> Signed-off-by: Sriram Ganesh <[email protected]>
* rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * fix propagated headers Signed-off-by: Kaushal Kumar <[email protected]> * add changelog entry Signed-off-by: Kaushal Kumar <[email protected]> * rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * resolve comments Signed-off-by: Kaushal Kumar <[email protected]> --------- Signed-off-by: Kaushal Kumar <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
* rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * fix propagated headers Signed-off-by: Kaushal Kumar <[email protected]> * add changelog entry Signed-off-by: Kaushal Kumar <[email protected]> * rename queryGroup to workloadGroup Signed-off-by: Kaushal Kumar <[email protected]> * resolve comments Signed-off-by: Kaushal Kumar <[email protected]> --------- Signed-off-by: Kaushal Kumar <[email protected]> Signed-off-by: Harsh Kothari <[email protected]>
Description
This change is to rename the
QueryGroup
name toWorkloadGroup
. SinceQueryGroup
name is becoming little bit misleading given other features such as query insights, cluster insights etc.This change should not break over the wire ser/de because we are not changing underlying fields or their types. Regarding stats also we are not changing any field or their type but just the
toXContent()
output and this is a one way operation triggered by_/wlm/stats
API.Few things that I am still considering is the cluster state metadata
this method is responsible for registering the NameXContentWritables which are later used to parse the custom metadata objects from the persisted state.
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.