[ovs-dev] [PATCH 6/7] raft: Send all missing logs in one single append_request.
blp at ovn.org
Fri Mar 6 22:25:03 UTC 2020
On Fri, Feb 28, 2020 at 06:07:09PM -0800, Han Zhou wrote:
> When a follower needs to "catch up", leader can send N entries in
> a single append_request instead of only one entry by each message.
> The function raft_send_append_request() already supports this, so
> this patch just calculate the correct "n" and use it.
> Signed-off-by: Han Zhou <hzhou at ovn.org>
I'm a little concerned about memory and message sizes here. It might be
wise to limit them. All of the existing callers pass either 0 or 1 for
I'm going to apply this anyway, though.
More information about the dev