pnowojski commented on a change in pull request #8476: [FLINK-12490][network] 
Introduce Input and NetworkInput interfaces
URL: https://github.com/apache/flink/pull/8476#discussion_r287728979
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/UnionInputGate.java
 ##########
 @@ -254,7 +248,19 @@ private void handleEndOfPartitionEvent(BufferOrEvent 
bufferOrEvent, InputGate in
                                throw new IllegalStateException("Couldn't find 
input gate in set of remaining " +
                                        "input gates.");
                        }
+                       if (isFinished()) {
+                               markAvailable();
 
 Review comment:
   Check my other response, actually I was never thinking about this in terms 
of "data availability" but in terms of "input being available for 
processing/handling". If input is in `isFinished` state, it has to be 
`isAvailable` as well from this perspective. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to