Skip to content

Commit

Permalink
[hotfix][runtime] Extracts CheckpointStatsTracker into interface
Browse files Browse the repository at this point in the history
- Introduces DefaultCheckpointStatsTracker
- Introduces NoOpCheckpointStatsTracker
  • Loading branch information
XComp committed Jul 3, 2024
1 parent 91cf5d8 commit 7c67d01
Show file tree
Hide file tree
Showing 16 changed files with 786 additions and 583 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2429,7 +2429,12 @@ private PendingCheckpointStats trackPendingCheckpointStats(
}

private void reportFinishedTasks(
PendingCheckpointStats pendingCheckpointStats, List<Execution> finishedTasks) {
@Nullable PendingCheckpointStats pendingCheckpointStats,
List<Execution> finishedTasks) {
if (pendingCheckpointStats == null) {
return;
}

long now = System.currentTimeMillis();
finishedTasks.forEach(
execution ->
Expand Down
Loading

0 comments on commit 7c67d01

Please sign in to comment.