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


   This pr is based on https://github.com/apache/ratis/pull/409 . Current, it 
has implemented the code related to leader election. I will continue to add the 
code related to transport log on it. My idea is that we can temporarily let the 
leader send logs to all listeners, and then we can consider iterative 
optimization, using followers or other listeners to pass logs.
   
   For the log, I think the leader only needs to send all the committed logs to 
the listener, so that the log in the listner does not need to be truncate. In 
addition, I think the listener only needs to receive the log, and does not need 
to apply to the state machine.
   
   Can you give some suggestions for the above ideas, thank you @szetszwo 


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