diff --git a/CHANGELOG.md b/CHANGELOG.md index adf7b320..1ba9b471 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) ### Enhancements - Incrementally remove resources from workflow state during deprovisioning ([#898](https://github.com/opensearch-project/flow-framework/pull/898)) +- Increase default index replicas to 5 ([#916](https://github.com/opensearch-project/flow-framework/pull/916)) ### Bug Fixes - Fixed Template Update Location and Improved Logger Statements in ReprovisionWorkflowTransportAction ([#918](https://github.com/opensearch-project/flow-framework/pull/918)) diff --git a/src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java b/src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java index f05a162f..01240e54 100644 --- a/src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java +++ b/src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java @@ -82,7 +82,7 @@ public class FlowFrameworkIndicesHandler { private final ClusterService clusterService; private final EncryptorUtils encryptorUtils; private static final Map indexMappingUpdated = new HashMap<>(); - private static final Map indexSettings = Map.of("index.auto_expand_replicas", "0-1"); + private static final Map indexSettings = Map.of("index.auto_expand_replicas", "0-5"); private final NamedXContentRegistry xContentRegistry; // Retries in case of simultaneous updates private static final int RETRIES = 5;