Description
The following is an observation from William Song:
In some of our scenarios, this problem happens when a new leader is elected and start sending AppendEntries to a slow follower. Unfortunately, this slow follower is going through a GC pause, so these AppendEntries just accumulates at gRPC buffer. When the slow follower comes around and starts dealing with these piled RPCs, it immediately finds the first AppendEntries nextIndex is inconsistent. So it replies INCONSISTENT to all of these accumulated AE RPCs, all with the same nextIndex.
See https://github.com/apache/ratis/pull/832#issuecomment-1451186915
Attachments
Issue Links
- causes
-
HDDS-10863 Changed default value of raft.grpc.server.leader.outstanding.appends.max may have performance implication in Ozone
- Open
- is related to
-
RATIS-1562 Do not send AppendEntries while InstallSnapshot is in progress
- Open
- links to