Skip to content

Add adaptive merge policy to reduce benchmark variance#19352

Closed
rgsriram wants to merge 5 commits into
opensearch-project:mainfrom
rgsriram:issue-11163
Closed

Add adaptive merge policy to reduce benchmark variance#19352
rgsriram wants to merge 5 commits into
opensearch-project:mainfrom
rgsriram:issue-11163

Addressed the nitpick from code rabbit.

b1d79c9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 2, 2026 in 0s

73.21% (target 70.00%)

View this Pull Request on Codecov

73.21% (target 70.00%)

Details

Codecov Report

❌ Patch coverage is 65.80645% with 106 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.21%. Comparing base (438a482) to head (b1d79c9).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...pensearch/index/merge/SegmentTopologyAnalyzer.java 60.13% 55 Missing and 2 partials ⚠️
...rch/index/AdaptiveOpenSearchTieredMergePolicy.java 57.60% 38 Missing and 1 partial ⚠️
...pensearch/index/AdaptiveMergePolicyCalculator.java 88.23% 3 Missing and 3 partials ⚠️
.../main/java/org/opensearch/index/IndexSettings.java 40.00% 3 Missing ⚠️
...earch/index/AdaptiveTieredMergePolicyProvider.java 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               main   #19352    +/-   ##
==========================================
  Coverage     73.20%   73.21%            
- Complexity    71706    71780    +74     
==========================================
  Files          5785     5789     +4     
  Lines        328140   328451   +311     
  Branches      47270    47305    +35     
==========================================
+ Hits         240228   240486   +258     
- Misses        68676    68702    +26     
- Partials      19236    19263    +27     

☔ 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.