Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
Description
Current code for #getScmRatisRoles calls SCMRatisServer.getRatisRoles() which basically determines the leader based on whether the node is local.
peer.getAddress().concat(isLocal ? ":".concat(RaftProtos.RaftPeerRole.LEADER.toString()) : ":".concat(RaftProtos.RaftPeerRole.FOLLOWER.toString()))
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
Attachments
Issue Links
- is duplicated by
-
HDDS-6728 SCM UI not showing correct HA roles
- Resolved
- links to