Browse Source

Security index expands to a single replica (#33131)

This change removes the use of 0-all for auto expand replicas for the
security index. The use of 0-all causes some unexpected behavior with
certain allocation settings. This change allows us to avoid these with
a default install. If necessary, the number of replicas can be tuned by
the user.

Closes #29933
Closes #29712
Jay Modi 7 years ago
parent
commit
b86dad22ce

+ 1 - 1
x-pack/plugin/core/src/main/resources/security-index-template.json

@@ -4,7 +4,7 @@
   "settings" : {
     "number_of_shards" : 1,
     "number_of_replicas" : 0,
-    "auto_expand_replicas" : "0-all",
+    "auto_expand_replicas" : "0-1",
     "index.priority": 1000,
     "index.format": 6,
     "analysis" : {