[
https://issues.apache.org/jira/browse/HDDS-6383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-6383:
---------------------------------
Labels: pull-request-available (was: )
> SCM Web UI doesn’t show correct leader/follower HA info
> --------------------------------------------------------
>
> Key: HDDS-6383
> URL: https://issues.apache.org/jira/browse/HDDS-6383
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM HA
> Reporter: Sadanand Shenoy
> Assignee: Sadanand Shenoy
> Priority: Major
> Labels: pull-request-available
>
> Current code for #getScmRatisRoles calls SCMRatisServer.getRatisRoles() which
> basically determines the leader based on whether the node is local.
> {code:java}
> peer.getAddress().concat(isLocal ?
> ":".concat(RaftProtos.RaftPeerRole.LEADER.toString()) :
> ":".concat(RaftProtos.RaftPeerRole.FOLLOWER.toString())) {code}
>
> This is correct in case of other callers since only the leader would process
> requests but not in the JMX case, so every node web ui will have it as the
> leader
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]