[ https://issues.apache.org/jira/browse/RATIS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951809#comment-16951809 ]
Tsz-wo Sze commented on RATIS-457: ---------------------------------- {code} - private boolean checkAndUpdateMatchIndex(AppendEntriesRequestProto request) { - final int n = request.getEntriesCount(); - final long newMatchIndex = n == 0? request.getPreviousLog().getIndex(): request.getEntries(n - 1).getIndex(); - return follower.updateMatchIndex(newMatchIndex); {code} matchIndex should be updated to the index of the last sent request. > Timed out append entry reply should update follower match index, commit index > ----------------------------------------------------------------------------- > > Key: RATIS-457 > URL: https://issues.apache.org/jira/browse/RATIS-457 > Project: Ratis > Issue Type: Bug > Reporter: Lokesh Jain > Assignee: Lokesh Jain > Priority: Major > Labels: ozone > Attachments: RATIS-457.001.patch > > > Currently all the timed out append entry replies are ignored by the leader. > These replies have information like match index which can be updated by > leader. -- This message was sent by Atlassian Jira (v8.3.4#803005)