codings-dan commented on pull request #614:
URL: https://github.com/apache/ratis/pull/614#issuecomment-1057579760


   > > ... so what is the difference between learner and listener?
   > 
   > A Learner will automatically convert to a voting member when it catches 
up, but a Listener will never convert automatically.
   > 
   > Then, why we do need Learners? It is for starting many new servers at the 
same time. For example, a group originally has 3 nodes and we want to change it 
to 11 nodes. If we add all the new nodes as voting members, the leader suddenly 
cannot commit anymore transactions since it no longer can commit to the 
majority. It has to wait for some of the new nodes catching up.
   
   Thanks for the explanation, I understand now.


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