dawidwys commented on a change in pull request #16589:
URL: https://github.com/apache/flink/pull/16589#discussion_r678472252
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/StreamMultipleInputProcessor.java
##########
@@ -84,8 +84,9 @@ public DataInputStatus processInput() throws Exception {
lastReadInputIndex = readingInputIndex;
DataInputStatus inputStatus =
inputProcessors[readingInputIndex].processInput();
+ inputSelectionHandler.updateStatus(inputStatus, readingInputIndex);
inputSelectionHandler.nextSelection();
- return inputSelectionHandler.updateStatus(inputStatus,
readingInputIndex);
+ return inputSelectionHandler.calculateOverallStatus(inputStatus);
Review comment:
In had to reverse the order, because in `updateStatus` I update statuses
for `END_OF_DATA`/`END_OF_PARTITION` which I need for the calculation in
`nextSelection`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]