Skip to content

Commit

Permalink
Adjust index replicas settings to keep consistent with AOS 2.9 (#1325) (
Browse files Browse the repository at this point in the history
#1326)

Signed-off-by: Sicheng Song <[email protected]>
(cherry picked from commit ad078ff)

Co-authored-by: Sicheng Song <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and b4sjoo authored Sep 12, 2023
1 parent 0855241 commit f5c20fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class MLIndicesHandler {

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

static {
Expand Down

0 comments on commit f5c20fb

Please sign in to comment.