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

25ca951
Select commit
Loading
Failed to load commit list.
Merged

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

Fix
25ca951
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jul 24, 2024 in 0s

64.61% of diff hit (target 71.82%)

View this Pull Request on Codecov

64.61% of diff hit (target 71.82%)

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 114 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#L114

Added line #L114 was not covered by tests

Check warning on line 118 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#L118

Added line #L118 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 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 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 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