[Tarantool-patches] [PATCH 0/3] Raft follow-ups
Serge Petrenko
sergepetrenko at tarantool.org
Mon Sep 28 10:09:31 MSK 2020
26.09.2020 00:29, Vladislav Shpilevoy пишет:
> The patchset is a couple of fixes for the existing Raft code, and
> also a new leader election policy - the third patch makes so an
> instance restart does not lead to a new election immediately
> anymore.
>
> See the commit message and comments why.
>
> Branch: http://github.com/tarantool/tarantool/tree/gh-1146-raft
> Issue: https://github.com/tarantool/tarantool/issues/1146
>
> Vladislav Shpilevoy (3):
> [tosquash] raft: vote without a new term when possible
> [tosquash] raft: fix 99% CPU issue in raft io worker
> [tosquash] raft: don't start new election immediately after restart
>
> src/box/box.cc | 12 ++++++++++-
> src/box/raft.c | 54 +++++++++++++++++++++++++++++++++++++++++++-------
> src/box/raft.h | 8 ++++++++
> 3 files changed, 66 insertions(+), 8 deletions(-)
Hi! Thanks for the fixes!
The patchset LGTM.
>
--
Serge Petrenko
More information about the Tarantool-patches
mailing list