ivandika3 commented on PR #1702: URL: https://github.com/apache/ratis/pull/1702#issuecomment-7026694231
Thanks @amaliujia for the review, yes it doesn't affect correctness. > it could reject read a bit earlier, but rejecting read is not a correctness issue and the window is very narrow. Yes, it should be narrow, but I recently saw it when benchmarking the linearizable follower read implementation which can cause read failover and affect the performance of linearizable follower read. Under sustained read loads, this case most likely is going to be triggered. > In the other hand, this change could also have some reads that should be rejected but not (though the window is also very narrow). Could you clarify on this? I don't see any case where reads that should be rejected but not, if there is then it's an argument of not accepting this improvement since it now can cause read to block longer than just read failover. -- 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]
