[
https://issues.apache.org/jira/browse/FLINK-9210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16443358#comment-16443358
]
ASF GitHub Bot commented on FLINK-9210:
---------------------------------------
Github user Silven1117 commented on the issue:
https://github.com/apache/flink/pull/5875
This could've been my very first open source contribution :(
> 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)