Added double check that all partition data has been processed before ending
This commit is contained in:
@@ -178,7 +178,7 @@ public class JsrPartitionHandler implements PartitionHandler, InitializingBean {
|
||||
|
||||
processFinishedPartitions(tasks, result);
|
||||
|
||||
if(tasks.size() == 0) {
|
||||
if(tasks.size() == 0 && partitionDataQueue.isEmpty()) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user