Apply Renames from split shards (elastic/x-pack-elasticsearch#2716)

XPack side of elastic/elasticsearch#26931

Original commit: elastic/x-pack-elasticsearch@6e7c3d4242
This commit is contained in:
Simon Willnauer 2017-11-06 10:38:21 +00:00 committed by Boaz Leskes
parent dd3a800745
commit 457c49c332
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class ShrinkIndexWithSecurityTests extends SecurityIntegTestCase {
// wait for green and then shrink
ensureGreen();
assertAcked(client().admin().indices().prepareShrinkIndex("bigindex", "shrunk_bigindex")
assertAcked(client().admin().indices().prepareResizeIndex("bigindex", "shrunk_bigindex")
.setSettings(Settings.builder()
.put("index.number_of_replicas", 0)
.put("index.number_of_shards", 1)

View File

@ -44,6 +44,7 @@ indices:admin/refresh
indices:admin/settings/update
indices:admin/shards/search_shards
indices:admin/shrink
indices:admin/resize
indices:admin/rollover
indices:admin/template/delete
indices:admin/template/get