pnowojski commented on code in PR #23908:
URL: https://github.com/apache/flink/pull/23908#discussion_r1441676954
##########
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointStatsTracker.java:
##########
@@ -86,9 +88,10 @@ public class CheckpointStatsTracker {
private final JobID jobID;
private final MetricGroup metricGroup;
+ private int totalNumberOfSubTasks;
- /** The latest restored checkpoint. */
- @Nullable private RestoredCheckpointStats latestRestoredCheckpoint;
+ private Optional<JobInitializationMetricsBuilder>
jobInitializationMetricsBuilder =
Review Comment:
Matter of preferences. `Optional`'s compile time checks > not very usable
`@Nullable`'s warnings in our code base.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]