Skip to content

Commit

Permalink
[FLINK-35446] Fix NPE when disabling checkpoint file merging but rest…
Browse files Browse the repository at this point in the history
…ore from merged files
  • Loading branch information
Zakelly committed May 24, 2024
1 parent 54f037f commit 5a78e68
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,10 +684,11 @@ public void restoreStateHandles(
fileHandle.getFilePath(),
path -> {
boolean managedByFileMergingManager =
isManagedByFileMergingManager(
path,
subtaskKey,
fileHandle.getScope());
fileSystemInitiated
&& isManagedByFileMergingManager(
path,
subtaskKey,
fileHandle.getScope());
if (managedByFileMergingManager) {
spaceStat.onPhysicalFileCreate();
}
Expand Down

0 comments on commit 5a78e68

Please sign in to comment.