Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@dev.tarantool.org, sergepetrenko@tarantool.org
Subject: [Tarantool-patches] [PATCH 0/3] Raft follow-ups
Date: Fri, 25 Sep 2020 23:29:10 +0200	[thread overview]
Message-ID: <cover.1601069274.git.v.shpilevoy@tarantool.org> (raw)

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)

             reply	other threads:[~2020-09-25 21:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-25 21:29 Vladislav Shpilevoy [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1601069274.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=sergepetrenko@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 0/3] Raft follow-ups' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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