elasticsearch/elasticsearch — pull request #8659 by martijnvg (2014-11-25 17:07:17+00:00)
Title: Core: DiskThresholdDecider#remain(...) should take shards relocating away into account

Let the disk threshold decider take into account shards moving away from a node in order to determine if a shard can remain.

By taking this into account we can prevent that we move too many shards away than is necessary.

PR for #8538