Add new index and cluster level settings to limit the total primary shards per node and per index #17295
75.00% of diff hit (target 72.41%)
View this Pull Request on Codecov
75.00% of diff hit (target 72.41%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L334
Added line #L334 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L336
Added line #L336 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L340
Added line #L340 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L344-L348
Added lines #L344 - L348 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L351
Added line #L351 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/action/admin/cluster/settings/TransportClusterUpdateSettingsAction.java#L353
Added line #L353 was not covered by tests
Check warning on line 459 in server/src/main/java/org/opensearch/cluster/routing/RoutingNode.java
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/RoutingNode.java#L459
Added line #L459 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/decider/ShardsLimitAllocationDecider.java#L140-L141
Added lines #L140 - L141 were not covered by tests