When I installed the ELASTICSEARCH 8.8.1, I am not able to change the number of replicas of .security and .security-profile index

If the Node having the .security index goes down the whole cluster is not functioning. And superuser elastic is unable to edit the setting of this .security index

The system indices uses an auto_expand_replicas setting which allows the cluster to add a replica if a node is available. System indices are designed this way so that the cluster state can be "green" even if the system indices have no replica.

Don't try to change settings of system indices. Just add another node, and the replica will be created.

1 Like

We have an open issue (Productize a way to change index.auto_expand_replicas and index.number_of_replicas settings on the .security index · Issue #92992 · elastic/elasticsearch · GitHub) to improve this.

The system indices uses an auto_expand_replicas setting which allows the cluster to add a replica if a node is available.

The auto expand is current hard-coded as 0-1. Therefore it will have at most 1 replica regardless of the number of nodes.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.