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
Signed-off-by: Sicheng Song <[email protected]>
(cherry picked from commit ad078ff)
  • Loading branch information
b4sjoo authored and github-actions[bot] committed Sep 12, 2023
1 parent 0855241 commit 4186c22
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 4186c22

Please sign in to comment.