You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/04/18 16:16:00 UTC

[jira] [Updated] (FLINK-9210) Call getValue() only once in gauge serialization

     [ https://issues.apache.org/jira/browse/FLINK-9210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-9210:
------------------------------------
    Fix Version/s: 1.4.3

> Call getValue() only once in gauge serialization
> ------------------------------------------------
>
>                 Key: FLINK-9210
>                 URL: https://issues.apache.org/jira/browse/FLINK-9210
>             Project: Flink
>          Issue Type: Improvement
>          Components: Metrics
>    Affects Versions: 1.4.2
>            Reporter: Jisu You
>            Assignee: Chesnay Schepler
>            Priority: Minor
>             Fix For: 1.5.0, 1.4.3
>
>
> MetricDumpSerialization.serializeGauge() calls gauge.getValue twice in gauge serialization. This is troublesome for those who reset gauges in getValue. serializeGauge() should only call getValue once.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)