From 461514e22165c336a5a083fa62605caa93ccd644 Mon Sep 17 00:00:00 2001 From: Sicheng Song Date: Tue, 12 Sep 2023 22:19:23 +0000 Subject: [PATCH] Adjust index replicas settings to keep consistent with AOS 2.9 Signed-off-by: Sicheng Song --- .../main/java/org/opensearch/ml/indices/MLIndicesHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/org/opensearch/ml/indices/MLIndicesHandler.java b/plugin/src/main/java/org/opensearch/ml/indices/MLIndicesHandler.java index af6203f0ef..d278fa6415 100644 --- a/plugin/src/main/java/org/opensearch/ml/indices/MLIndicesHandler.java +++ b/plugin/src/main/java/org/opensearch/ml/indices/MLIndicesHandler.java @@ -37,7 +37,7 @@ public class MLIndicesHandler { ClusterService clusterService; Client client; - private static final Map indexSettings = Map.of("index.auto_expand_replicas", "0-5"); + private static final Map indexSettings = Map.of("index.auto_expand_replicas", "0-1"); private static final Map indexMappingUpdated = new HashMap<>(); static {