Myasuka commented on a change in pull request #8693: URL: https://github.com/apache/flink/pull/8693#discussion_r427197535
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/SubtaskCheckpointCoordinatorImpl.java ########## @@ -142,6 +187,13 @@ public void checkpointState( // We generally try to emit the checkpoint barrier as soon as possible to not affect downstream // checkpoint alignments + // Step (0): Record the last triggered checkpointId. + lastCheckpointId = metadata.getCheckpointId(); Review comment: `checkpointState` is executed in sync phase of checkpoint on task which should behave as a strictly increasing order due to the barrier align mechanism. ---------------------------------------------------------------- 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