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:
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.