ghuangups opened a new pull request #2098:
URL: https://github.com/apache/ozone/pull/2098


   … information.
   
   ## What changes were proposed in this pull request?
   
   "ozone admin scm roles" command currently returns scm role info like this: 
[scm1:9865, scm2:9865, scm3:9865]. This change is to add: LEADER and FOLLOWER 
info in the return. The new result from the command is now look like this: 
[scm3:9865:FOLLOWER, scm2:9865:FOLLOWER, scm1:9865:LEADER]
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5022
   
   ## How was this patch tested?
   
   Manually tested locally by creating a SCM HA cluster with 3 SCM nodes and 
executed command: ozone admin scm roles from one of the SCM node. With this 
change, the command result was: [scm3:9865:FOLLOWER, scm2:9865:FOLLOWER, 
scm1:9865:LEADER].
   
   Also manually executed admincli tests under ozonesecure.
   


-- 
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.

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