Class IndexBalanceAllocationDecider

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

public class IndexBalanceAllocationDecider extends AllocationDecider
For an index of n shards hosted by a cluster of m nodes, a node should not host significantly more than n / m shards. This allocation decider enforces this principle. This allocation decider excludes any nodes flagged for shutdown from consideration when computing optimal shard distributions.