mirror of https://github.com/apache/druid.git
RealtimePlumberSchool: Fix wait-for-handoff in finishJob
This commit is contained in:
parent
e4c8122f9c
commit
3266139774
|
@ -328,7 +328,9 @@ public class RealtimePlumberSchool implements PlumberSchool
|
|||
);
|
||||
|
||||
synchronized (handoffCondition) {
|
||||
handoffCondition.wait();
|
||||
while (!sinks.isEmpty()) {
|
||||
handoffCondition.wait();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
|
|
Loading…
Reference in New Issue