Is your feature request related to a problem? Please describe
Sometimes, In a cluster where there are indices of varied sizes, it unbalances the disks of the nodes to a great extent as currently the allocation strategy is primarily based on indices and shard counts and it doesn't account for the shard sizes while rebalancing.
Describe the solution you'd like
It would be great to have a similar setting just like we have cluster.routing.allocation.balance.index and cluster.routing.allocation.balance.shard. Elasticsearch already has cluster.routing.allocation.balance.disk_usage cluster setting which accounts for disk usage stats while performing shard balancing.
Is your feature request related to a problem? Please describe
Sometimes, In a cluster where there are indices of varied sizes, it unbalances the disks of the nodes to a great extent as currently the allocation strategy is primarily based on indices and shard counts and it doesn't account for the shard sizes while rebalancing.
Describe the solution you'd like
It would be great to have a similar setting just like we have
cluster.routing.allocation.balance.index
andcluster.routing.allocation.balance.shard
. Elasticsearch already hascluster.routing.allocation.balance.disk_usage
cluster setting which accounts for disk usage stats while performing shard balancing.Related component
ShardManagement:Placement
Describe alternatives you've considered
N/A
Additional context
No response