ss77892 commented on PR #1339:
URL: https://github.com/apache/ratis/pull/1339#issuecomment-3864908196

   @szetszwo We have another leadership check at the beginning, so we don't 
store the entry in the cache if we are not the leader at the moment. So, it 
would behave exactly in the same way even without the patch. The patch removes 
an inconsistency in behavior that might occur when leadership changes during 
the event processing (the node was the leader when it received the event, but 
it's not a leader when it wants to add the event to the log). 


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