Skip to content

Add new index and cluster level settings to limit the total primary shards per node and per index #17295

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

Merged
merged 16 commits into from
Feb 25, 2025

Added integration test for scenario where primary shards setting is s…

36d29c8
Select commit
Loading
Failed to load commit list.
Merged

Add new index and cluster level settings to limit the total primary shards per node and per index #17295

Added integration test for scenario where primary shards setting is s…
36d29c8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 24, 2025 in 0s

72.40% (target 70.00%)

View this Pull Request on Codecov

72.40% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 75.00000% with 28 lines in your changes missing coverage. Please review.

Project coverage is 72.40%. Comparing base (abe2333) to head (36d29c8).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...settings/TransportClusterUpdateSettingsAction.java 12.50% 12 Missing and 2 partials ⚠️
...va/org/opensearch/cluster/routing/RoutingNode.java 80.00% 1 Missing and 9 partials ⚠️
...location/decider/ShardsLimitAllocationDecider.java 87.50% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17295      +/-   ##
============================================
- Coverage     72.41%   72.40%   -0.02%     
- Complexity    65667    65672       +5     
============================================
  Files          5303     5303              
  Lines        304781   304877      +96     
  Branches      44201    44218      +17     
============================================
+ Hits         220709   220746      +37     
- Misses        65959    66048      +89     
+ Partials      18113    18083      -30     

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