Fix typo in o.e.c.r.a.d.ConcurrentRebalanceAllocationDecider

This commit is contained in:
Jason Tedor 2015-10-16 10:06:23 -04:00
parent a1c1a8b230
commit 7f12806a7d
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class ConcurrentRebalanceAllocationDecider extends AllocationDecider {
return allocation.decision(Decision.YES, NAME, "all concurrent rebalances are allowed");
}
if (allocation.routingNodes().getRelocatingShardCount() >= clusterConcurrentRebalance) {
return allocation.decision(Decision.NO, NAME, "too man concurrent rebalances [%d], limit: [%d]",
return allocation.decision(Decision.NO, NAME, "too many concurrent rebalances [%d], limit: [%d]",
allocation.routingNodes().getRelocatingShardCount(), clusterConcurrentRebalance);
}
return allocation.decision(Decision.YES, NAME, "below threshold [%d] for concurrent rebalances", clusterConcurrentRebalance);