leo sun created HDFS-16808:
------------------------------

             Summary: 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
         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: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to