Skip to content

Commit 41817c7

Browse files
[Tracker] #1362816 - Prevent ism index to be created with 1 replica
1 parent 83c0a27 commit 41817c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ services:
176176
- plugins.ml_commons.native_memory_threshold=100 # Prevent memory issue after multiple deploy (https://github.com/opensearch-project/ml-commons/issues/2308)
177177
- plugins.ml_commons.jvm_heap_memory_threshold=100 # Prevent memory issue after multiple deploy (https://github.com/opensearch-project/ml-commons/issues/2308)
178178
- plugins.security.audit.type=debug # https://github.com/opensearch-project/security/issues/3130
179+
- opendistro.index_state_management.history.number_of_replicas=0 # Prevent OpenSearch from requiring replicas for system indices in single-node mode. https://github.com/opensearch-project/security/issues/4739
180+
- plugins.index_state_management.history.number_of_replicas=0 # Prevent OpenSearch from requiring replicas for system indices in single-node mode. https://github.com/opensearch-project/security/issues/4739
179181
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_ADMIN_PASSWORD:-!ChangeMe0!}
180182
volumes:
181183
- os2_data:/usr/share/opensearch/data:rw

0 commit comments

Comments
 (0)