Hello. Thanks in advance for any help
I have a 3-nodes cluster containing different amount of shards on each node. Earlier it runs elasticsearch 8.4.3 and all was nearly-fine, but after upgrading to 8.11.1 things seems badlier.
Now, entering _cat/allocation?v here is what I see:
I see no issues when reading logs on es2 or any other health issues except low available disk space on es2. Any ideas how to balance overall shard count on my nodes?
In your link I can see only new settings avalaible in "Shard balancing heuristics settings" such as cluster.routing.allocation.balance.disk_usage and cluster.routing.allocation.balance.write_load but other parameters have same default values on 8.4.3
If I want shard overall count on each node stay close, how can I manipulate those settings?
The cluster.routing.allocation.balance.shard setting defines the weight factor for the total number of shards allocated to each node. By increasing this value, Elasticsearch will try to equalize the total number of shards across all nodes.
However, please note that adjusting these settings should be done with caution. The default values are generally good for most use cases, and changing them might improve the current balance but could potentially cause problems in the future if the cluster or workload changes.
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.