From 14527ed2d5378f7cb335f366700a80854c0ba726 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 15 Jan 2016 11:58:42 +0100 Subject: [PATCH] use a valid default --- .../org/elasticsearch/cluster/metadata/AutoExpandReplicas.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/cluster/metadata/AutoExpandReplicas.java b/core/src/main/java/org/elasticsearch/cluster/metadata/AutoExpandReplicas.java index a41ac95e93e..0e8ccc35370 100644 --- a/core/src/main/java/org/elasticsearch/cluster/metadata/AutoExpandReplicas.java +++ b/core/src/main/java/org/elasticsearch/cluster/metadata/AutoExpandReplicas.java @@ -24,7 +24,7 @@ import org.elasticsearch.common.settings.Setting; final class AutoExpandReplicas { // the value we recognize in the "max" position to mean all the nodes private static final String ALL_NODES_VALUE = "all"; - public static final Setting SETTING = new Setting<>(IndexMetaData.SETTING_AUTO_EXPAND_REPLICAS, "", (value) -> { + public static final Setting SETTING = new Setting<>(IndexMetaData.SETTING_AUTO_EXPAND_REPLICAS, "false", (value) -> { final int min; final int max; if (Booleans.parseBoolean(value, true) == false) {