final boolean explain = allocation.debugDecision(); Tuple<Decision, Map<String, NodeAllocationResult>> result = canBeAllocatedToAtLeastOneNode(unassignedShard, allocation); Decision allocateDecision = result.v1(); if (allocateDecision.type() != Decision.Type.YES
final boolean explain = allocation.debugDecision(); Tuple<Decision, Map<String, NodeAllocationResult>> result = canBeAllocatedToAtLeastOneNode(unassignedShard, allocation); Decision allocateDecision = result.v1(); if (allocateDecision.type() != Decision.Type.YES
final boolean explain = allocation.debugDecision(); Tuple<Decision, Map<String, NodeAllocationResult>> result = canBeAllocatedToAtLeastOneNode(unassignedShard, allocation); Decision allocateDecision = result.v1(); if (allocateDecision.type() != Decision.Type.YES
final boolean explain = allocation.debugDecision(); Tuple<Decision, Map<String, NodeAllocationResult>> result = canBeAllocatedToAtLeastOneNode(unassignedShard, allocation); Decision allocateDecision = result.v1(); if (allocateDecision.type() != Decision.Type.YES
if (canBeAllocatedToAtLeastOneNode(shard, allocation) == false) { logger.trace("{}: ignoring allocation, can't be allocated on any node", shard); unassignedIterator.removeAndIgnore();