symious commented on PR #1296: URL: https://github.com/apache/ratis/pull/1296#issuecomment-3369996854
Yes, direclty read from leader could also have this issue, only read from follower will amptify this issue, since additional [t0, t2) time range have large latency. Checked with GPT if these situations are "linearize", it said no. In my view, this is a relative outcome — it mainly depends on how the threshold is set. If the threshold is very strict, latency can indeed lead to an incorrect result. However, with a larger threshold, the result is acceptable. Therefore, the purpose of LocalLease is to allow the application to pass this threshold in as a parameter, so that the client can decide how to proceed based on it. -- 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]
