SzyWilliam opened a new pull request, #735:
URL: https://github.com/apache/ratis/pull/735

   ## What changes were proposed in this pull request?
   Implement linearizable read-only requests in leader, according to Raft 
Thesis section 6.4.
   1. Obtain `readIndex` by broadcasting heartbeats and receiving majority acks.
   2. Wait statemachine to advance at least as far as `readIndex`
   3. Query statemachine now and we can get a linearizable result.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/RATIS-1696
   
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   New unit tests in ReadOnlyTests, including basic / parallel client / timeout 
scenarios.
   


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