elasticsearch/elasticsearch — Issue #1651: Cluster Allocation: cluster.routing.allocation.allow_rebalance does not allow for rebalancing on relocating shard
Author: kimchy
Created: 2012-01-29 23:47:49+00:00
State: open
Labels: bug, v0.19.0

The setting `cluster.routing.allocation.allow_rebalance` (defaults to `indices_all_active` means wait till the shards are active till we start rebalancing. This helps with allocating all indices before starting rebalance.

Currently though, it does not take rebalancing shard into account, meaning that once a single shard is moving (rebalanced), it will not allow for any other shard to be moved around. This effectively disables the `cluster.routing.allocation.cluster_concurrent_rebalance` setting (defaults to 2) by allowing for a single shard to rebalance and until its done, none will be allowed.