[ https://issues.apache.org/jira/browse/RATIS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640653#comment-16640653 ]
Mukul Kumar Singh commented on RATIS-341: ----------------------------------------- Thanks for the review [~szetszwo]. The changes in leader state are needed for a slow follower. For a slow node which is catching up, the commit index send along with the append request can be beyond the log indexes sent to the follower. > Raft log index on the follower should be applied to state machine only after > writing the log > -------------------------------------------------------------------------------------------- > > Key: RATIS-341 > URL: https://issues.apache.org/jira/browse/RATIS-341 > Project: Ratis > Issue Type: Bug > Components: server > Affects Versions: 0.3.0 > Reporter: Mukul Kumar Singh > Assignee: Mukul Kumar Singh > Priority: Major > Fix For: 0.3.0 > > Attachments: RATIS-341.002.patch > > > In follower, RaftServerImpl#appendEntriesAsync, entries should only be > applied to state machine > only after writing the log to the state machine. -- This message was sent by Atlassian JIRA (v7.6.3#76005)