/_cluster/reroute doesn't respect node_concurrent_recoveries

I have 4 nodes in my cluster: A,B,C,D,E,F and G.
I'm issuing a series of /_cluster/reroute commands to move 2 shards out of A,B,C,D,E,F into G.

As my cluster's config says:

cluster.routing.allocation.node_concurrent_incoming_recoveries => 2
cluster.routing.allocation.node_concurrent_outgoing_recoveries => 2
cluster.routing.allocation.node_concurrent_recoveries => 8

I was expecting G to only be able to receive either 2 or 8 shards in parallel, but instead, the cluster allowed the 12 shards to be moved at the same time as I could see the status as RELOCATING in /_cat/shards.

Is this expected behaviour? if so, what is the config parameter I need to change to limit how many shards my cluster can move in parallel when I use the _cluster/reroute command?

Thanks.

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