Fix Create a snapshot spec (#108768)

Prior to this change the shard might have been moved after restoring.
As a result we were getting an array with 2 recoveries (SNAPSHOT and PEER).
This change ensures the shard is not moved after restoring snapshot.
This commit is contained in:
Ievgen Degtiarenko 2024-05-17 14:37:50 +02:00 committed by GitHub
parent 61877bee41
commit b3b245e501
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,9 @@ setup:
repository: test_repo_restore_1
snapshot: test_snapshot_1
wait_for_completion: true
body:
"index_settings":
"index.routing.rebalance.enable": "none"
- do:
indices.recovery: