[
https://issues.apache.org/jira/browse/HDFS-16808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17621513#comment-17621513
]
ASF GitHub Bot commented on HDFS-16808:
---------------------------------------
ted12138 closed pull request #5049: HDFS-16808. MutableStat will return 0 when
there is no change
URL: https://github.com/apache/hadoop/pull/5049
> HDFS metrics will hold the previous value if there is no new call
> -----------------------------------------------------------------
>
> Key: HDFS-16808
> URL: https://issues.apache.org/jira/browse/HDFS-16808
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: leo sun
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2022-10-19-23-59-19-673.png
>
>
> According to the implementation of MutableStat.snapshot(), HDFS metrics will
> always hold the previous value if there is no more new call.
> It will cause even if user switch active and standby, the previous
> ANN(standby now) will always output the old value as the pic shows
> !image-2022-10-19-23-59-19-673.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]