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

   @ivandika3 @szetszwo 
   Please check this.
   
https://github.com/apache/ratis/blob/b940b65004bea5f15593e2bbcb5ce925c0580b39/ratis-server/src/main/java/org/apache/ratis/server/impl/RaftServerImpl.java#L991
   We fail with an exception at the beginning of  writeAsyncImpl before the 
request lands to RetryCache. So, there is no idempotency guarantee. Also the 
client might go to another node that is the leader now with the same callId and 
that node doesn't have it in the RetryCache. 


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