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



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/CheckpointBarrierUnaligner.java
##########
@@ -113,7 +113,11 @@ public void processBarrier(CheckpointBarrier barrier, 
InputChannelInfo channelIn
 
                        if (++numBarriersReceived == numOpenChannels) {
                                allBarriersReceivedFuture.complete(null);
-                               resetPendingCheckpoint(barrierId);
+                               for (final InputGate gate : inputGates) {
+                                       for (int index = 0, numChannels = 
gate.getNumberOfInputChannels(); index < numChannels; index++) {
+                                               
gate.getChannel(index).checkpointStopped(currentCheckpointId);
+                                       }
+                               }

Review comment:
       Sorry that was just a test commit to see if the stuck e2e failed because 
of this change. I removed it. The original change is covered by a few unit 
tests already.




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


Reply via email to