Skip to content

Commit 027527b

Browse files
committed
Increase default index replicas to 5
Signed-off-by: Daniel Widdis <[email protected]>
1 parent 389d680 commit 027527b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
2323

2424
### Enhancements
2525
- Incrementally remove resources from workflow state during deprovisioning ([#898](https://github.com/opensearch-project/flow-framework/pull/898))
26+
- Increase default index replicas to 5 ([#916](https://github.com/opensearch-project/flow-framework/pull/916))
2627

2728
### Bug Fixes
2829
### Infrastructure
2930
### Documentation
3031
- Add query assist data summary agent into sample templates ([#875](https://github.com/opensearch-project/flow-framework/pull/875))
32+
3133
### Maintenance
3234
### Refactoring
3335
- Update workflow state without using painless script ([#894](https://github.com/opensearch-project/flow-framework/pull/894))

src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class FlowFrameworkIndicesHandler {
8282
private final ClusterService clusterService;
8383
private final EncryptorUtils encryptorUtils;
8484
private static final Map<String, AtomicBoolean> indexMappingUpdated = new HashMap<>();
85-
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-1");
85+
private static final Map<String, Object> indexSettings = Map.of("index.auto_expand_replicas", "0-5");
8686
private final NamedXContentRegistry xContentRegistry;
8787
// Retries in case of simultaneous updates
8888
private static final int RETRIES = 5;

0 commit comments

Comments
 (0)