peterxcli opened a new pull request, #1490: URL: https://github.com/apache/ratis/pull/1490
## What changes were proposed in this pull request? * Refactored `ReadStreamManagement` to perform an asynchronous linearizability check using a "dummy read" request before invoking the state machine for read-only queries. The state machine query is only performed if the check succeeds, and an appropriate reply is sent if it fails. * Updated `RaftServerImpl` to recognize and handle dummy read requests by returning a success reply immediately, avoiding unnecessary state machine queries. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2559 ## How was this patch tested? (Please explain how this patch was tested. Ex: unit tests, manual tests) (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this) -- 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]
