Make reroute iteration time-bound for large shard allocations #14848
64.61% of diff hit (target 71.82%)
View this Pull Request on Codecov
64.61% of diff hit (target 71.82%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L621
Added line #L621 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L624
Added line #L624 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L114
Added line #L114 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L118
Added line #L118 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L121
Added line #L121 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L229
Added line #L229 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L241
Added line #L241 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L251-L252
Added lines #L251 - L252 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L256
Added line #L256 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L260-L261
Added lines #L260 - L261 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L268
Added line #L268 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L271-L272
Added lines #L271 - L272 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L276-L277
Added lines #L276 - L277 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L279
Added line #L279 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L786-L787
Added lines #L786 - L787 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L790-L791
Added lines #L790 - L791 were not covered by tests