[
https://issues.apache.org/jira/browse/HDDS-10597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sadanand Shenoy reassigned HDDS-10597:
--------------------------------------
Assignee: Sadanand Shenoy
> Use MutableGauge for threshold based SafeModeMetrics
> ----------------------------------------------------
>
> Key: HDDS-10597
> URL: https://issues.apache.org/jira/browse/HDDS-10597
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: SCM
> Reporter: Sadanand Shenoy
> Assignee: Sadanand Shenoy
> Priority: Major
>
> 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 metrics show cumulative addition of these threshold values which makes no
> sense
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]