[ 
https://issues.apache.org/jira/browse/RATIS-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951770#comment-16951770
 ] 

Tsz-wo Sze commented on RATIS-457:
----------------------------------

It is a good observation to update matchIndex for the failure case!

However, it may be premature to set matchIndex = replyIndex - 1 since it is not 
necessarily true.  I guess it is better add matchIndex in the reply to avoid 
such problem.

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

Reply via email to