mirror of https://github.com/apache/druid.git
i suck
This commit is contained in:
parent
575d51b0ce
commit
b1b9e0a267
|
@ -74,7 +74,7 @@ public class FillCapacityWorkerSelectStrategy implements WorkerSelectStrategy
|
|||
|
||||
for (ImmutableZkWorker zkWorker : sortedWorkers) {
|
||||
if (zkWorker.canRunTask(task) && zkWorker.isValidVersion(minWorkerVer)) {
|
||||
return Optional.of(zkWorker.getMutableZkWorker());
|
||||
return Optional.of(zkWorker);
|
||||
}
|
||||
}
|
||||
log.debug("Worker nodes %s do not have capacity to run any more tasks!", zkWorkers.values());
|
||||
|
|
Loading…
Reference in New Issue