Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 35 commits into from
Jul 24, 2024

Fix spotless

e83db71
Select commit
Loading
Failed to load commit list.
Merged

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

Fix spotless
e83db71
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jul 23, 2024 in 0s

54.68% of diff hit (target 71.82%)

View this Pull Request on Codecov

54.68% of diff hit (target 71.82%)

Annotations

Check warning on line 622 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#L622

Added line #L622 was not covered by tests

Check warning on line 625 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#L625

Added line #L625 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L117

Added line #L117 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L121

Added line #L121 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L124

Added line #L124 was not covered by tests

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

See this annotation in the file changed.

@codecov 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

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/cluster/routing/allocation/ExistingShardsAllocator.java#L134

Added line #L134 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 241 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#L241

Added line #L241 was not covered by tests

Check warning on line 243 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#L243

Added line #L243 was not covered by tests

Check warning on line 248 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#L248

Added line #L248 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 263 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#L263

Added line #L263 was not covered by tests

Check warning on line 268 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#L268

Added line #L268 was 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 279 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#L279

Added line #L279 was 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