harryteng9527 opened a new pull request, #7388:
URL: https://github.com/apache/ozone/pull/7388

   ## What changes were proposed in this pull request?
   This PR removes the `startupRole` from the peer list log in 
`OzoneManagerStateMachine` to avoid confusing others.
   
   Here are the logs before and after the modification.
   ### Before change
   ```
   Received Configuration change notification from Ratis. New Peer list:
   [id: "omNode-3"
   address: "localhost:15015"
   startupRole: FOLLOWER
   , id: "omNode-1"
   address: "localhost:15007"
   startupRole: FOLLOWER
   , id: "omNode-2"
   address: "localhost:15011"
   startupRole: FOLLOWER
   ]
   ```
   ### After change
   ```
   Received Configuration change notification from Ratis. New Peer list:
   [id: "omNode-3"
    address: "localhost:15015"
   , id: "omNode-1"
    address: "localhost:15007"
   , id: "omNode-2"
    address: "localhost:15011"
   ]
   ```
   
   ## What is the link to the Apache JIRA
   
   [HDDS-11623. A configuration change log in OzoneManagerStateMachine is 
confusing](https://issues.apache.org/jira/browse/HDDS-11623?filter=-4&jql=project%20%3D%20HDDS%20order%20by%20created%20DESC)
   
   ## How was this patch tested?
   
   Pass all tests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to