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

   
https://github.com/apache/ratis/blob/b940b65004bea5f15593e2bbcb5ce925c0580b39/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java#L991
   Here we call checkLeaderState that would throw an exception if the node is 
not the leader. To the cache, we add it 5 lines later.


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