You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/03/31 07:36:00 UTC

[jira] [Created] (RATIS-1562) Do not send AppendEntries when follower is installing snapshot

Kaijie Chen created RATIS-1562:
----------------------------------

             Summary: Do not send AppendEntries when follower is installing snapshot
                 Key: RATIS-1562
                 URL: https://issues.apache.org/jira/browse/RATIS-1562
             Project: Ratis
          Issue Type: Improvement
            Reporter: Kaijie Chen


It is wasting of rpcs to send AppendEntries while InstallSnapshot is in progress. Because the reply from the follower will always be INCONSISTENCY.

See following design doc from etcd as a reference. Maybe we should also introduce the follower progress state to Ratis.

https://github.com/etcd-io/etcd/blob/main/raft/design.md



--
This message was sent by Atlassian Jira
(v8.20.1#820001)