Remove a Node controlling the number of shards reallocating

Hello,

At the moment on which I want to remove a node inside a Elasticsearch cluster I was wondering if there is possible to controll how many shards are going to be reallocating at the same time, I know the cluster setting called "cluster.routing.allocation.cluster_concurrent_rebalance" but inside the documentation I could read that this settings does not apply when I want to remove a node with the following setting:

cluster.routing.allocation.exclude.{attribute}

Do you have any idea about this issue?

Thanks for all.
Best Regards

If you apply a shard allocation filter with cluster.routing.allocation.exclude.{attribute} then the shards are relocated elsewhere using the recovery mechanism. This means you can set cluster.routing.allocation.node_concurrent_recoveries to limit the number of recoveries happening at each node, and indices.recovery.max_bytes_per_sec to limit the bandwidth used by recoveries.

Hi David

Thanks for all, I have tried this and works fine!

Thanks again!

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.