[Backport 2.x]Add cluster primary balance contraint for rebalancing with buffer #13014
Codecov / codecov/patch
succeeded
Apr 2, 2024 in 0s
91.83% of diff hit (target 71.28%)
View this Pull Request on Codecov
91.83% of diff hit (target 71.28%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java#L244-L246
Added lines #L244 - L246 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/allocator/BalancedShardsAllocator.java#L561
Added line #L561 was not covered by tests
Loading