weijietong commented on a change in pull request #1334: DRILL-6385: Support JPPD feature URL: https://github.com/apache/drill/pull/1334#discussion_r207866392
########## File path: exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java ########## @@ -408,6 +424,9 @@ private void runPhysicalPlan(final PhysicalPlan plan) throws ExecutionSetupExcep fragmentsRunner.setFragmentsInfo(work.getFragments(), work.getRootFragment(), work.getRootOperator()); startQueryProcessing(); + if (enableRuntimeFilter) { + runtimeFilterManager.waitForComplete(); Review comment: To make sure the `RuntimerFilterManager`'s sending out `ByteBuf`s to be safely cleared out no matter the network successed or failed. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services