Class ConcurrentRebalanceAllocationDecider

java.lang.Object
org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
org.elasticsearch.cluster.routing.allocation.decider.ConcurrentRebalanceAllocationDecider

public class ConcurrentRebalanceAllocationDecider extends AllocationDecider
Similar to the ClusterRebalanceAllocationDecider this AllocationDecider controls the number of currently in-progress re-balance (shard relocation) operations and restricts node allocations if the configured threshold is reached. Frozen and non-frozen shards are considered separately. The default number of concurrent rebalance operations is set to 2 for non-frozen shards. For frozen shards, the default is the same setting as non-frozen shards, until set explicitly.

Re-balance operations can be controlled in real-time via the cluster update API using cluster.routing.allocation.cluster_concurrent_rebalance and cluster.routing.allocation.cluster_concurrent_frozen_rebalance. Iff either setting is set to -1 the number of concurrent re-balance operations within the setting's category (frozen or non-frozen) are unlimited.