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

   ## What changes were proposed in this pull request?
   Add the heartbeat broadcast mechanism in LeaderState. 
   When a leader is requested for current readIndex, it should first confirm 
its authority by broadcasting heartbeats and receiving majority 
acknowledgements. If the leadership is confirmed, the readIndex can be safely 
returned.
   In this PR I propose to add the broadcast mechanism and use it to implement 
readIndex request.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/RATIS-1643
   
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   this patch should be tested when Read request using ReadIndex Option is 
implemented.
   


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