[
https://issues.apache.org/jira/browse/HDDS-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-8009:
---------------------------------
Labels: pull-request-available (was: )
> OM HA metrics should be unregistered if leader is not known
> -----------------------------------------------------------
>
> Key: HDDS-8009
> URL: https://issues.apache.org/jira/browse/HDDS-8009
> Project: Apache Ozone
> Issue Type: Bug
> Components: OM HA
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Christos Bisias
> Priority: Minor
> Labels: pull-request-available
>
> HDDS-7721 added OM HA metrics, with some logic in OM to unregister if leader
> is unknown. However, unregistration happens in the wrong if branch, should be
> done if {{leader}} is {{{}null{}}}, not its {{id}} (which is required to be
> non-null).
>
> https://github.com/apache/ozone/pull/4140#pullrequestreview-1309134520
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]