Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Introduce a cluster allocation setting to account for disk usage #15520

Open
Dhruvan1217 opened this issue Aug 30, 2024 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request ShardManagement:Placement

Comments

@Dhruvan1217
Copy link

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.

Related component

ShardManagement:Placement

Describe alternatives you've considered

N/A

Additional context

No response

@Dhruvan1217 Dhruvan1217 added enhancement Enhancement or improvement to existing feature or request untriaged labels Aug 30, 2024
@andrross
Copy link
Member

andrross commented Sep 23, 2024

[Catch All Triage - 1, 2, 3]

Thanks for filing, this looks like a reasonable feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request ShardManagement:Placement
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants