GitHub user uce opened a pull request:
FLINK-6170 [metrics] Don't rely on stats snapshot for checkpoint metrics
Some checkpoint metrics use the latest stats snapshot to get the returned metric value. In practice, this means that these metrics are only updated when users are browsing the web UI (only then is a new snapshot created).
Instead of relying on the latest snapshot, the checkpoint metrics for the latest completed checkpoint should be directly updated when a checkpoint completes.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/uce/flink 6170-checkpoint_metrics_update
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3597