[
https://issues.apache.org/jira/browse/FLINK-6170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936702#comment-15936702
]
ASF GitHub Bot commented on FLINK-6170:
---------------------------------------
GitHub user uce opened a pull request:
https://github.com/apache/flink/pull/3597
[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:
https://github.com/apache/flink/pull/3597.patch
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
----
----
> Some checkpoint metrics rely on latest stat snapshot
> ----------------------------------------------------
>
> Key: FLINK-6170
> URL: https://issues.apache.org/jira/browse/FLINK-6170
> Project: Flink
> Issue Type: Bug
> Components: Metrics, State Backends, Checkpointing, Webfrontend
> Reporter: Ufuk Celebi
> Assignee: Ufuk Celebi
>
> Some checkpoint metrics use the latest stats snapshot to get the returned
> metric value. These snapshots are only updated when the {{WebRuntimeMonitor}}
> actually requests some stats (web UI or REST API).
> In practice, this means that these metrics are only updated when users are
> browsing the web UI.
> Instead of relying on the latest snapshot, the checkpoint metrics should be
> directly updated via the completion callbacks.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)