Zakelly commented on code in PR #25899:
URL: https://github.com/apache/flink/pull/25899#discussion_r1917859211


##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointType.java:
##########
@@ -46,6 +46,10 @@ public boolean isSavepoint() {
         return false;
     }
 
+    public boolean isFull() {
+        return getSharingFilesStrategy() == SharingFilesStrategy.FORWARD;

Review Comment:
   Sry for the misleading, I should have said `getSharingFilesStrategy() != 
SharingFilesStrategy.FORWARD_BACKWARD;` for `isFull()`, since `NO_SHARING` and 
`FORWARD` mean this cp share no files with previous ones (thus it's a full cp).



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to