[ https://issues.apache.org/jira/browse/RATIS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17099728#comment-17099728 ]
Lokesh Jain commented on RATIS-873: ----------------------------------- [~hanishakoneru] Can we create PR for it as Ratis has moved to PR model? > 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 > Priority: Major > Attachments: RATIS-873.001.patch > > > 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)