Make reroute iteration time-bound for large shard allocations #14848
54.68% of diff hit (target 71.82%)
View this Pull Request on Codecov
54.68% of diff hit (target 71.82%)
Annotations
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L622
Added line #L622 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L625
Added line #L625 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L117
Added line #L117 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/cluster/routing/allocation/ExistingShardsAllocator.java#L124
Added line #L124 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L129-L130
Added lines #L129 - L130 were not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L134
Added line #L134 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#L243
Added line #L243 was not covered by tests
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L248
Added line #L248 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#L263
Added line #L263 was 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