You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport of PRs for profile related changes in concurrent search path (#10898)
* Add support for query profiler with concurrent aggregation (#9248)
* Add support for query profiler with concurrent aggregation (#9248)
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Refactor and work on the PR comments
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Update collectorToLeaves mapping for children breakdowns post profile metric collection and before creating the results
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Refactor logic to compute the slice level breakdown stats and query level breakdown stats for concurrent search case
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Fix QueryProfilePhaseTests and QueryProfileTests, and parameterize QueryProfilerIT with concurrent search enabled
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Handle the case when there are no leaf context to compute the profile stats to return default stats
for all breakdown type along with min/max/avg values. Replace queryStart and queryEnd time with queryNodeTime
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Add UTs for ConcurrentQueryProfileBreakdown
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Add concurrent search stats test into the QueryProfilerIT
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Address review comments
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
---------
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
Co-authored-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Fix NPE in ConcurrentQueryProfile while computing the breakdown map for slices (#10111)
* Fix NPE in ConcurrentQueryProfile while computing the breakdown map for slices.
There can be cases where one or more slice may not have timing related information for its leaves in
contexts map. During creation of slice and query level breakdown map it needs to handle such cases by using
default values correctly. Also updating the min/max/avg sliceNodeTime to not include time to create
weight and wait times by slice threads. It will reflect the min/max/avg execution time of each slice
whereas totalNodeTime will reflect the total query time.
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Address review comments
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
---------
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
* Fix flaky query profile phase tests with concurrent search enabled (#10547) (#10547)
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Introduce ConcurrentQueryProfiler to profile query using concurrent segment search path and support concurrency during rewrite and create weight (#10352)
* Fix timer race condition in profile rewrite and create weight for concurrent segment search (#10352)
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
* Refactor and work on the PR comments (#10352)
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
---------
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
---------
Signed-off-by: Ticheng Lin <ticheng@amazon.com>
Signed-off-by: Sorabh Hamirwasia <sohami.apache@gmail.com>
Co-authored-by: Ticheng Lin <51488860+ticheng-aws@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
19
19
- Add cluster state stats ([#10670](https://github.com/opensearch-project/OpenSearch/pull/10670))
20
20
-[Remote cluster state] Restore cluster state version during remote state auto restore ([#10853](https://github.com/opensearch-project/OpenSearch/pull/10853))
21
21
- Update the indexRandom function to create more segments for concurrent search tests ([10247](https://github.com/opensearch-project/OpenSearch/pull/10247))
22
+
- Add support for query profiler with concurrent aggregation ([#9248](https://github.com/opensearch-project/OpenSearch/pull/9248))
23
+
- Introduce ConcurrentQueryProfiler to profile query using concurrent segment search path and support concurrency during rewrite and create weight ([10352](https://github.com/opensearch-project/OpenSearch/pull/10352))
22
24
23
25
### Dependencies
24
26
- Bumps jetty version to 9.4.52.v20230823 to fix GMS-2023-1857 ([#9822](https://github.com/opensearch-project/OpenSearch/pull/9822))
0 commit comments