DaveTeng0 opened a new pull request, #1060:
URL: https://github.com/apache/ratis/pull/1060

   ## What changes were proposed in this pull request?
   Originally, the PeerId generated in file new-raft-meta.conf by command 
   `$ ratis sh local raftMetaConf -peers 
<P0_HOST:P0_PORT,P1_HOST:P1_PORT,P2_HOST:P2_PORT> -path 
<PARENT_PATH_OF_RAFT_META_CONF> `
   it uses the address of server as PeerId, which would cause the ratis group 
to fail to start if there are some duplicated addresses stored in 
raft-meta.conf.
   Thus, need to fix that by using actual PeerId in raft-meta.conf and store 
back to generated new-raft-meta.conf.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/RATIS-2040
   
   ## How was this patch tested?
   tested in dev cluster, integration test


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

Reply via email to