Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/2146#discussion_r68744357
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint/CheckpointCoordinator.java
---
@@ -663,6 +677,9 @@ public boolean
receiveAcknowledgeMessage(AcknowledgeCheckpoint message) throws E
LOG.info("Completed checkpoint
" + checkpointId + " (in " +
completed.getDuration() + " ms)");
+ lastCheckpointSize =
completed.getStateSize();
+ lastCheckpointDuration =
completed.getDuration();
--- End diff --
Would it make sense to use the `CheckpointStatsTracker` to obtain the
values for the last checkpoint? Given that the JobManager is not so high
performance critical with respect to the calculation of the metrics.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---