Zakelly commented on code in PR #24513: URL: https://github.com/apache/flink/pull/24513#discussion_r1536996545
########## flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/filemerging/FileMergingSnapshotManagerBase.java: ########## @@ -278,7 +300,11 @@ public SegmentFileStateHandle closeStreamAndCreateStateHandle( returnPhysicalFileForNextReuse(subtaskKey, checkpointId, physicalFile); return new SegmentFileStateHandle( - physicalFile.getFilePath(), startPos, stateSize, scope); + getManagedDirStateHandle(subtaskKey, scope), Review Comment: Is it possible for some cp happened to be with no state, and the directory is deleted by JM? -- 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