[Tarantool-patches] [PATCH 0/3] Raft follow-ups
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Sep 26 00:29:10 MSK 2020
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(-)
--
2.21.1 (Apple Git-122.3)
More information about the Tarantool-patches
mailing list