AHeise commented on a change in pull request #13228:
URL: https://github.com/apache/flink/pull/13228#discussion_r476674004



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/CheckpointedInputGate.java
##########
@@ -74,34 +106,34 @@ public CheckpointedInputGate(
        }
 
        @Override
-       public Optional<BufferOrEvent> pollNext() throws Exception {
-               while (true) {

Review comment:
       Yes, it's changing semantics (as I had written in commit message). I 
have not found a good reason why it's not always exited and it makes things 
easier especially since this method can now be used to process priority events.
   Btw I think it also changes semantics for all event that are not handled at 
all, but I'm not sure which events survive at this point (Superstep?).




----------------------------------------------------------------
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]


Reply via email to