Skip to content

Commit 1d43e76

Browse files
committed
Prevent shard relocation while closing index (#61072)
We might fail to close an index if some shards are being relocated. Close #60913
1 parent d54957d commit 1d43e76

File tree

1 file changed

+1
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats

1 file changed

+1
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
body:
9494
settings:
9595
soft_deletes.enabled: true
96+
routing.rebalance.enable: "none" # prevents shard relocations while we are closing an index
9697
- do:
9798
cluster.health:
9899
wait_for_no_initializing_shards: true

0 commit comments

Comments
 (0)