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

Lokesh Jain commented on RATIS-217:
-----------------------------------

[~szetszwo] Thanks for reviewing the patch! v3 patch addresses your comments. I 
have also changed GrpcLogAppender#pendingRequests data structure to map in the 
revised patch.

I have also made a change in the append entry response observer OnSuccess call. 
If an appendEntry response times out, the reply is ignored and as a result the 
follower's match index is not updated. Therefore I update match index if 
heartbeat reply shows an extra entry in the follower.

> Support timeout for append entry requests(GrpcLogAppender)
> ----------------------------------------------------------
>
>                 Key: RATIS-217
>                 URL: https://issues.apache.org/jira/browse/RATIS-217
>             Project: Ratis
>          Issue Type: New Feature
>            Reporter: Lokesh Jain
>            Assignee: Lokesh Jain
>            Priority: Major
>         Attachments: RATIS-217.003.patch
>
>
> This jira aims to add timeout for append entry requests sent by 
> GrpcLogAppender.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to