Fix typo in o.e.c.r.a.d.ConcurrentRebalanceAllocationDecider
This commit is contained in:
parent
a1c1a8b230
commit
7f12806a7d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue