From c1f7f93318a22c009c8513225bdb2a7c6a9225af Mon Sep 17 00:00:00 2001 From: Sicheng Song Date: Tue, 12 Sep 2023 15:21:12 -0700 Subject: [PATCH] Adjust index replicas settings to keep consistent with AOS 2.9 (#1325) Signed-off-by: Sicheng Song (cherry picked from commit ad078ffe0ec1e1dbed660d494543d94f87ec2ff0) --- .../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 {