szetszwo commented on PR #1296: URL: https://github.com/apache/ratis/pull/1296#issuecomment-3372546616
> ... LocalLease allows the user to decide whether to trust the results read from a follower within certain limits — limitLag and limitTime. ... @symious , we need to make configurable (global or per request) as mentioned. > ... if the user can tolerate some staleness, they may choose to read directly from the follower, even though the value might be slightly outdated or inaccurate. Agree. We already support [staleRead](https://github.com/apache/ratis/blob/047444b06f39b30852da56b15136c2e47f5ab22c/ratis-client/src/main/java/org/apache/ratis/client/api/AsyncApi.java#L109) with `minIndex`. We could support another staleRead API with a time limit parameter. We do not oppose adding a new stale read with time limit. We just don't want to claim that it is the same as linearizable read. -- 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]
