Tsz-wo Sze created HDDS-11623:
---------------------------------

             Summary: A configuration change log in OzoneManagerStateMachine is 
confusing
                 Key: HDDS-11623
                 URL: https://issues.apache.org/jira/browse/HDDS-11623
             Project: Apache Ozone
          Issue Type: Improvement
          Components: OM HA
            Reporter: Tsz-wo Sze


In the log message below, it looks like saying that all three OMs are currently 
a FOLLOWER. When reading it more carefully, the log message actually says the 
startupRole of the OMs was a FOLLOWER but not the current roles. Although the 
message is correct but it does confuse many people. Let's simply print the id 
and address but not the startupRole.
{code:java}
2024-10-29 02:47:28,575 INFO 
[om1@group-88EBB2640488-StateMachineUpdater]-org.apache.hadoop.ozone.om.ratis.OzoneManagerStateMachine:
 Received Configuration change notification from Ratis. New Peer list:
[id: "om1"
address: "...:9872"
startupRole: FOLLOWER
, id: "om3"
address: "...:9872"
startupRole: FOLLOWER
, id: "om2"
address: "...:9872"
startupRole: FOLLOWER
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to