AHeise commented on a change in pull request #12186:
URL: https://github.com/apache/flink/pull/12186#discussion_r426127286
##########
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:
It depends on what we are trying to achieve. Assume that we have a chain
source -> map -> sink and source and map have been closed already. Wouldn't it
be nice to still commit stuff in sink?
----------------------------------------------------------------
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]