Skip to content

Commit 63fe2c7

Browse files
Adjust index replicas settings to keep consistent with AOS 2.9 (#1325) (#1327)
Signed-off-by: Sicheng Song <[email protected]> (cherry picked from commit ad078ff) Co-authored-by: Sicheng Song <[email protected]>
1 parent e360727 commit 63fe2c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/java/org/opensearch/ml/indices/MLIndicesHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class MLIndicesHandler {
3737

3838
ClusterService clusterService;
3939
Client client;
40-
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-5");
40+
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-1");
4141
private static final Map<String, AtomicBoolean> indexMappingUpdated = new HashMap<>();
4242

4343
static {

0 commit comments

Comments
 (0)