Skip to content

Make reroute iteration time-bound for large shard allocations (#14848)

Codecov / codecov/patch succeeded Jul 24, 2024 in 1s

74.24% of diff hit (target 71.49%)

View this Pull Request on Codecov

74.24% of diff hit (target 71.49%)

Annotations

Check warning on line 621 in server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L621

Added line #L621 was not covered by tests

Check warning on line 624 in server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/AllocationService.java#L624

Added line #L624 was not covered by tests

Check warning on line 229 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L229

Added line #L229 was not covered by tests

Check warning on line 252 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L251-L252

Added lines #L251 - L252 were not covered by tests

Check warning on line 256 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L256

Added line #L256 was not covered by tests

Check warning on line 261 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L260-L261

Added lines #L260 - L261 were not covered by tests

Check warning on line 272 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L271-L272

Added lines #L271 - L272 were not covered by tests

Check warning on line 277 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L276-L277

Added lines #L276 - L277 were not covered by tests

Check warning on line 787 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L786-L787

Added lines #L786 - L787 were not covered by tests

Check warning on line 791 in server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/gateway/ShardsBatchGatewayAllocator.java#L790-L791

Added lines #L790 - L791 were not covered by tests