1u0 commented on a change in pull request #9383: [FLINK-13248] [runtime] Adding processing of downstream messages in AsyncWaitOperator's wait loops URL: https://github.com/apache/flink/pull/9383#discussion_r317582514
########## File path: flink-libraries/flink-state-processing-api/src/main/java/org/apache/flink/state/api/output/BoundedStreamTask.java ########## @@ -72,6 +74,10 @@ protected void init() throws Exception { // re-initialize the operator with the correct collector. StreamOperatorFactory<OUT> operatorFactory = configuration.getStreamOperatorFactory(getUserCodeClassLoader()); headOperator = operatorFactory.createStreamOperator(this, configuration, new CollectorWrapper<>(collector)); + if (operatorFactory instanceof YieldingOperatorFactory) { Review comment: Should this block go before the previous line (`operatorFactory.createStreamOperator(this, configuration, new CollectorWrapper<>(collector));`)? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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