hanishakoneru opened a new pull request #88:
URL: https://github.com/apache/incubator-ratis/pull/88


   This Jira aims to fix the following:
   
   - When Follower is in the process of installing snapshot and it gets an 
append entry, it replies with result INCONSISTENCY and the follower next index 
is updated to the snapshot index being installed. This should not happen as the 
snapshot installation is still in progress. Follower's next index on the leader 
should remain the same.
   
   - After InstallSnapshot is done, Leader should update the commitIndex of the 
Follower to the installed snapshot index.
   
   - After InstallSnapshot, when reloading StateMachine, any previously open 
LogSegment should be closed, if the last entry in the open log is already 
included in the snapshot.
   
   - When Follower is notified to install snapshot through StateMachine, the 
reply should indicate the same. It would help with debugging if the Install 
Snapshot success reply and Install Snapshot notified replies are distinct.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to