Maybe we can define some maxEntriesPerMessage and maxMessagesInflight parameters.Kaijie Chen ---- On 星期五, 15 七月 2022 08:03:58 +0800 [email protected] wrote ----Hi all,
In AppendEntry, leader sends all entries between (followerNext, leaderNext) to a follower. When the follower is slow and cannot keep up with group’s writing rate, the number of entries in AE RPC will accumulate by time, leading to HeapOOM (and/or) DirectOOM. Is there anything we can do to avoid this behavior? Maybe we can impose a limit on AE RPC size. What do you think? Regards, William Song
