szetszwo commented on PR #1050:
URL: https://github.com/apache/ratis/pull/1050#issuecomment-1998750590

   > ... for a new peer, the raftConf doesn't have information of the new 
RaftPeer. ...
   
   You are right.  I recall now why we have `AtomicReference<RaftPeer>`.
   
   Then, let's don't change it since the `AtomicReference.set` method is more 
efficient than the `RaftPeer.isSame` method. 


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