mirror of
https://github.com/apache/druid.git
synced 2025-03-01 06:49:19 +00:00
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…
x
Reference in New Issue
Block a user