affects only .elastichq index, other two keep the same replication factor 1
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open .ds-.logs-deprecation.elasticsearch-default-2023.08.01-000017 ffEIhEmISlm66_OOFZMlvQ 1 1 111 0 140.7kb 70.3kb
green open .ds-ilm-history-5-2023.08.01-000016 8aAiHp7YRl-8w_77ockRuw 1 1 18 0 45.4kb 22.6kb
green open .elastichq aDkgWHjaSfKiCAZ_60_2nw 1 2 1 0 27.5kb 6.8kb
Check the _settings on those 2 indices, my guess is that they both have "auto_expand_replicas": "0-1" set which will override the number_of_replicas value you are trying to set. You will need to remove/unset that setting for the indices to increase replicas to 2, etc.
Thanks, so I can modify "auto_expand_replicas": "false".
Can I directly set replication factor for all future .ilm system indexes? As ilm keeps creating new indexes every X days or can I disable creation of .ilm indexes completely? So far I tried to turn off ilm but it doesn't allow me to remove the existing index.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.