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

[BUG] Fix tests relying on wait_for_active_shards #1079

Closed
monusingh-1 opened this issue Jul 18, 2023 · 1 comment
Closed

[BUG] Fix tests relying on wait_for_active_shards #1079

monusingh-1 opened this issue Jul 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working v2.10.0 Issues targeting release v2.10.0

Comments

@monusingh-1
Copy link
Collaborator

What is the bug?
wait_for_active_shards setting will not allow the index to close as more than 1 shard will not be active.
This causes the test to fail.

{"acknowledged":false,"shards_acknowledged":false,"indices":{"remote-index":{"closed":false,"failedShards":{"0":{"failures":[{"shard":0,"index":"remote-index","status":"SERVICE_UNAVAILABLE","reason":{"type":"unavailable_shards_exception","reason":"[remote-index][0] Not enough active copies to meet shard count of [2] (have 1, needed 2). Timeout: [30s], request: [verify shard [remote-index][0] before close with block 4,RRq3_-4RRi2uSs03x15Odw,index preparing to close. Reopen the index to allow writes again or retry closing the index to fully close the index., blocks WRITE]"}}]}}}}}%
@monusingh-1 monusingh-1 added bug Something isn't working untriaged labels Jul 18, 2023
@monusingh-1 monusingh-1 added v2.10.0 Issues targeting release v2.10.0 and removed untriaged labels Jul 24, 2023
@monusingh-1 monusingh-1 self-assigned this Jul 25, 2023
@monusingh-1
Copy link
Collaborator Author

Fixed in #1091

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v2.10.0 Issues targeting release v2.10.0
Projects
None yet
Development

No branches or pull requests

1 participant