symious commented on PR #1296:
URL: https://github.com/apache/ratis/pull/1296#issuecomment-3369799024

   @szetszwo Thank you for the review.
   
   I think for the ReadIndex implementation, stale read could still happen. 
   At time T0, the leader returns an index to the follower.
   At time T1, the follower receives this index.
   At time T2, the follower’s commitIndex reaches that index.
   At time T3, the follower finishes the read query and returns the result to 
the client —
   however, by client receiving the response, the leader may have already made 
changes, such as deleting that file.


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