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


##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/filemerging/SubtaskFileMergingManagerRestoreOperation.java:
##########
@@ -93,8 +94,12 @@ public void restore() {
         Stream<SegmentFileStateHandle> segmentStateHandles =
                 Stream.of(keyedStateHandles, operatorStateHandles)
                         .flatMap(Function.identity())
-                        .filter(handle -> handle instanceof 
SegmentFileStateHandle)
+                        .filter(
+                                handle ->
+                                        (handle instanceof 
SegmentFileStateHandle)
+                                                && !(handle instanceof 
EmptySegmentFileStateHandle))
                         .map(handle -> (SegmentFileStateHandle) handle);
+        System.out.println("Restoring from checkpoint " + checkpointId);

Review Comment:
   Debug info attached by mistake. Removed.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to