zhijiangW commented on a change in pull request #9854: [FLINK-14230][task] Change the endInput call of the downstream operator to after the upstream operator closes URL: https://github.com/apache/flink/pull/9854#discussion_r338499433
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/StreamOneInputProcessor.java ########## @@ -70,7 +75,7 @@ public InputStatus processInput() throws Exception { if (status == InputStatus.END_OF_INPUT) { synchronized (lock) { - operatorChain.endInput(1); + operatorChain.endOperatorInput(streamOperator, 1); Review comment: ditto: `operatorChain#endHeadOperatorInput(int inputIndex)` instead ---------------------------------------------------------------- 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