hanishakoneru opened a new pull request #1793:
URL: https://github.com/apache/ozone/pull/1793


   ## What changes were proposed in this pull request?
   
   If a nodeID is not set explicitly (for a single node OM cluster), then it 
defaults to the OM storage ID which is an UUID string. Proposing to change this 
default to a constant (such as "om1") instead. 
   This would help when a cluster is upgraded to HA for example. It is not 
straightforward to change the nodeID after Ratis server has been instantiated 
(as the nodeID is used to generate the RaftPeerID). Hence, it would be good to 
have a more readable nodeID by default. 
   
   Note that existing single node Ratis enabled OM clusters will have to set 
the nodeId explicitly if upgraded.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4680
   
   ## How was this patch tested?
   
   Manually tested.
   


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