elasticsearch/elasticsearch — pull request #8190 by s1monw (2014-10-22 10:59:51+00:00)
Title: [ROUTING] Add rebalance enabled allocation decider

This commit adds the ability to enable / disable relocations
on an entire cluster or on individual indices for either:

* `primaries` - only primaries can rebalance
* `replica` - only replicas can rebalance
* `all` - everything can rebalance (default)
* `none` - all rebalances are disabled

similar to the allocation enable / disable functionality.

Relates to #7288