You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (JIRA)" <ji...@apache.org> on 2018/12/18 11:37:00 UTC

[jira] [Created] (RATIS-458) GrpcLogAppender#shouldWait should wait on pending log entries to follower

Lokesh Jain created RATIS-458:
---------------------------------

             Summary: GrpcLogAppender#shouldWait should wait on pending log entries to follower
                 Key: RATIS-458
                 URL: https://issues.apache.org/jira/browse/RATIS-458
             Project: Ratis
          Issue Type: Bug
            Reporter: Lokesh Jain
            Assignee: Lokesh Jain


In GrpcLogAppender when an append entry times out we remove the entry from the pendingRequests. This decreases the size of pendingRequests which affects the logic in GrpcLogAppender#shouldWait. Further we also consider heartbeats in shouldWait because heartbeats are tracked in pendingRequests. It should actually wait on the number of log entries which are appended to follower but have not yet been processed by it.



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