Class NodeReplacementAllocationDecider


public class NodeReplacementAllocationDecider extends AllocationDecider
An allocation decider that ensures that all the shards allocated to the node scheduled for removal are relocated to the replacement node. It also ensures that auto-expands replicas are expanded to only the replacement source or target (not both at the same time) and only of the shards that were already present on the source node.