Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/3] Raft follow-ups
@ 2020-09-25 21:29 Vladislav Shpilevoy
  2020-09-25 21:29 ` [Tarantool-patches] [PATCH 1/3] [tosquash] raft: vote without a new term when possible Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vladislav Shpilevoy @ 2020-09-25 21:29 UTC (permalink / raw)
  To: tarantool-patches, sergepetrenko

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-28  7:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 21:29 [Tarantool-patches] [PATCH 0/3] Raft follow-ups Vladislav Shpilevoy
2020-09-25 21:29 ` [Tarantool-patches] [PATCH 1/3] [tosquash] raft: vote without a new term when possible Vladislav Shpilevoy
2020-09-25 21:29 ` [Tarantool-patches] [PATCH 2/3] [tosquash] raft: fix 99% CPU issue in raft io worker Vladislav Shpilevoy
2020-09-25 21:29 ` [Tarantool-patches] [PATCH 3/3] [tosquash] raft: don't start new election immediately after restart Vladislav Shpilevoy
2020-09-28  7:09 ` [Tarantool-patches] [PATCH 0/3] Raft follow-ups Serge Petrenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox