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



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SubtaskCheckpointCoordinatorImpl.java
##########
@@ -174,7 +174,9 @@ public void notifyCheckpointComplete(long checkpointId, 
OperatorChain<?, ?> oper
                        LOG.debug("Notification of complete checkpoint for task 
{}", taskName);
 
                        for (StreamOperatorWrapper<?, ?> operatorWrapper : 
operatorChain.getAllOperators(true)) {
-                               
operatorWrapper.getStreamOperator().notifyCheckpointComplete(checkpointId);
+                               if (!operatorWrapper.isClosed()) {

Review comment:
       Not with the wrapper. It closes them one after another from head to tail 
with mails. That's why the notify can sneak in in the first place.




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