Skip to content

Conversation

@bowenlan-amzn
Copy link
Member

Description

Backport #17978

Related Issues

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

…ject#17978)

* Enable concurrent_segment_search auto mode by default

Signed-off-by: Vikasht34 <[email protected]>

* Make Default Slice count to 1 for Non-Concurrent Path

Signed-off-by: Vikasht34 <[email protected]>

* Add tolerance to matrix_stats agg correlation value assertion

The correlation metric could be different for different document distribution across shards, or slices. slice1(doc1,doc2), slice2(doc3,doc4,doc5) could give different correlation from slice1(doc1,doc2,doc3), slice2(doc4,doc5)

The tolerance followed here is 0.000000000000001

Signed-off-by: bowenlan-amzn <[email protected]>

---------

Signed-off-by: Vikasht34 <[email protected]>
Signed-off-by: bowenlan-amzn <[email protected]>
Co-authored-by: bowenlan-amzn <[email protected]>
@bowenlan-amzn bowenlan-amzn changed the title Limit stack walking to frames before AccessController.doPrivileged (#… [Backport 3.0] Enable concurrent_segment_search auto mode by default Apr 24, 2025
@bowenlan-amzn bowenlan-amzn marked this pull request as ready for review April 24, 2025 22:16
@github-actions
Copy link
Contributor

✅ Gradle check result for 252b2d8: SUCCESS

@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

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

Project coverage is 72.58%. Comparing base (aa27d70) to head (252b2d8).
Report is 4 commits behind head on 3.0.

Files with missing lines Patch % Lines
...va/org/opensearch/search/DefaultSearchContext.java 94.11% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                3.0   #18077      +/-   ##
============================================
+ Coverage     72.51%   72.58%   +0.07%     
- Complexity    67089    67129      +40     
============================================
  Files          5478     5478              
  Lines        310036   310039       +3     
  Branches      45072    45074       +2     
============================================
+ Hits         224809   225048     +239     
+ Misses        66892    66614     -278     
- Partials      18335    18377      +42     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jainankitk jainankitk merged commit bc76e71 into opensearch-project:3.0 Apr 24, 2025
59 checks passed
@bowenlan-amzn bowenlan-amzn deleted the backport17978 branch April 25, 2025 00:18
prudhvigodithi pushed a commit to prudhvigodithi/OpenSearch that referenced this pull request May 6, 2025
…ject#17978) (opensearch-project#18077)

* Enable concurrent_segment_search auto mode by default

* Make Default Slice count to 1 for Non-Concurrent Path

* Add tolerance to matrix_stats agg correlation value assertion

The correlation metric could be different for different document distribution across shards, or slices. slice1(doc1,doc2), slice2(doc3,doc4,doc5) could give different correlation from slice1(doc1,doc2,doc3), slice2(doc4,doc5)

The tolerance followed here is 0.000000000000001

---------

Signed-off-by: Vikasht34 <[email protected]>
Signed-off-by: bowenlan-amzn <[email protected]>
Co-authored-by: Vikasht34 <[email protected]>
Signed-off-by: Prudhvi Godithi <[email protected]>
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.

4 participants