sadanand48 opened a new pull request, #6446: URL: https://github.com/apache/ozone/pull/6446
## What changes were proposed in this pull request? Right now, we use MutableCounterLong for threshold metrics like numContainerWithOneReplicaReportedThreshold and when it is updated in setNumContainerWithOneReplicaReportedThreshold(long val) it incremented instead of setting the accurate value. This makes no sense as this field is a threshold and shouldn't be used as a counter. The JMX output show cumulative addition of these threshold values which makes no sense ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10597 ## How was this patch tested? Manually -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
