Skip to content

Commit dc2613d

Browse files
committed
[FLINK-38408][checkpoint] Complete the checkpoint CompletableFuture after updating statistics to ensures semantic correctness and prevent test failure
1 parent 39a4628 commit dc2613d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1385,8 +1385,8 @@ private void completePendingCheckpoint(PendingCheckpoint pendingCheckpoint)
13851385
lastSubsumed = null;
13861386
}
13871387

1388-
pendingCheckpoint.getCompletionFuture().complete(completedCheckpoint);
13891388
reportCompletedCheckpoint(completedCheckpoint);
1389+
pendingCheckpoint.getCompletionFuture().complete(completedCheckpoint);
13901390
} catch (Exception exception) {
13911391
// For robustness reasons, we need catch exception and try marking the checkpoint
13921392
// completed.

0 commit comments

Comments
 (0)