yanghua commented on a change in pull request #7571: [FLINK-10724] Refactor failure handling in check point coordinator URL: https://github.com/apache/flink/pull/7571#discussion_r276163142
########## File path: flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/PendingCheckpoint.java ########## @@ -101,7 +100,7 @@ private final CheckpointStorageLocation targetLocation; /** The promise to fulfill once the checkpoint has been completed. */ - private final CompletableFuture<CompletedCheckpoint> onCompletionPromise; + private final CompletableFuture<CheckpointExecutionResult> onCompletionPromise; Review comment: I still think one stage is represented in class name (consider the two keywords `Trigger` and `Decline` in `checkpoint` package). However, another stage is just represented in the code. It is not a good design. Considering in step T3, we would bring the failure processing about the execution of checkpoint into JM side. I think good design is that after we view a package of a module, we can learn about its general structure. ---------------------------------------------------------------- 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 With regards, Apache Git Services