Hanisha Koneru created RATIS-873:
------------------------------------

             Summary: Fix Install Snapshot Notification
                 Key: RATIS-873
                 URL: https://issues.apache.org/jira/browse/RATIS-873
             Project: Ratis
          Issue Type: Bug
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru


This Jira aims to address 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 message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to