From df0632436d4bde52a82b8fe52507bb092588d605 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 15:29:38 -0700 Subject: [PATCH] Adjust index replicas settings to keep consistent with AOS 2.9 (#1325) (#1328) Signed-off-by: Sicheng Song (cherry picked from commit ad078ffe0ec1e1dbed660d494543d94f87ec2ff0) Co-authored-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 856370eeab..3bda1a9939 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 {