You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Sammi Chen (Jira)" <ji...@apache.org> on 2021/10/29 12:51:00 UTC

[jira] [Created] (RATIS-1418) Leader step down for not sending out heartbeat promptly

Sammi Chen created RATIS-1418:
---------------------------------

             Summary: Leader step down for not sending out heartbeat promptly
                 Key: RATIS-1418
                 URL: https://issues.apache.org/jira/browse/RATIS-1418
             Project: Ratis
          Issue Type: Bug
            Reporter: Sammi Chen
            Assignee: Sammi Chen


In the current implemeation, leader will step down when it doesn't recevie any rpc from follower in maxTimeoutMs in follower's lastRpcResponseTime.

On the other side, grpcLogAppender decides to send out heartbeat based on the the lastRpcResponseTime and lastRpcSendTime, takes the late one, which makes in some cases heartbeat is not sent out promptly. 


Here are some logs captured.

Leader


Follower






--
This message was sent by Atlassian Jira
(v8.3.4#803005)