Concurrent Search Tasks Response Updates#7673
Merged
reta merged 3 commits intoopensearch-project:mainfrom Jun 1, 2023
Merged
Conversation
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
c400861 to
3217749
Compare
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Author
|
Failing test seems unrelated to my changes - https://build.ci.opensearch.org/job/gradle-check/16116/testReport/ |
andrross
reviewed
May 31, 2023
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Author
|
@reta Not sure why it gave me a merge conflict on that last commit but I think we should be good to squash and merge now. It's rerunning the tests but as you can see the last change has no diff. |
reta
reviewed
May 31, 2023
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Jay Deng <jayd0104@gmail.com>
Signed-off-by: Jay Deng <jayd0104@gmail.com>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Contributor
Author
|
Looks like that latest test failure could be related to my change, diving into it. |
jed326
commented
May 31, 2023
server/src/main/java/org/opensearch/tasks/TaskResourceStats.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Jay Deng <jayd0104@gmail.com>
Contributor
Author
|
There was an NPE issue in the constructor, should be fixed with the latest commit. |
andrross
approved these changes
May 31, 2023
Contributor
Gradle Check (Jenkins) Run Completed with:
|
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Jun 1, 2023
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com> (cherry picked from commit e3740f7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta
pushed a commit
that referenced
this pull request
Jun 1, 2023
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com> (cherry picked from commit e3740f7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
6 tasks
reta
pushed a commit
that referenced
this pull request
Jun 2, 2023
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com> (cherry picked from commit e3740f7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
reta
pushed a commit
that referenced
this pull request
Jun 2, 2023
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com> (cherry picked from commit e3740f7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
austintlee
pushed a commit
to austintlee/OpenSearch
that referenced
this pull request
Jun 2, 2023
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com>
reta
pushed a commit
that referenced
this pull request
Jun 2, 2023
* Add average,min,max and thread info to tasks response * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java --------- (cherry picked from commit e3740f7) Signed-off-by: Jay Deng <jayd0104@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gaiksaya
pushed a commit
to gaiksaya/OpenSearch
that referenced
this pull request
Jun 26, 2023
…pensearch-project#7856) * Add average,min,max and thread info to tasks response * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java --------- (cherry picked from commit e3740f7) Signed-off-by: Jay Deng <jayd0104@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
6 tasks
shiv0408
pushed a commit
to Gaurav614/OpenSearch
that referenced
this pull request
Apr 25, 2024
* Add average,min,max and thread info to tasks response Signed-off-by: Jay Deng <jayd0104@gmail.com> * Update server/src/main/java/org/opensearch/tasks/TaskResourceStats.java Signed-off-by: Jay Deng <jayd0104@gmail.com> --------- Signed-off-by: Jay Deng <jayd0104@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
After #7502 has been merged we will start tracking the resource usage of the concurrent search threadpool. This change adds average,min,max resource usage to the tasks API response which are more meaningful in the concurrent search use case. These stats will only be shown whenever thread executions > 1.
This is an implementation of solution 1 in the design from #7425.
Related Issues
#7425
Doc update Issue: opensearch-project/documentation-website#4206
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.