mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
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:
parent
61877bee41
commit
b3b245e501
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@ setup:
|
||||||
repository: test_repo_restore_1
|
repository: test_repo_restore_1
|
||||||
snapshot: test_snapshot_1
|
snapshot: test_snapshot_1
|
||||||
wait_for_completion: true
|
wait_for_completion: true
|
||||||
|
body:
|
||||||
|
"index_settings":
|
||||||
|
"index.routing.rebalance.enable": "none"
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.recovery:
|
indices.recovery:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue