[Tarantool-patches] [PATCH 0/4] Split vote
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Jan 15 03:48:52 MSK 2022
Split vote handling in Raft, its usage in storage, and a bug fix found while
working on this in the first commit.
Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5285-raft-split-vote
Issue: https://github.com/tarantool/tarantool/issues/5285
Vladislav Shpilevoy (4):
raft: fix crash on election_timeout reconfig
raft: track all votes, even not own
raft: introduce split vote detection
election: activate raft split vote handling
.../unreleased/election-timeout-cfg-crash.md | 5 +
src/box/raft.c | 4 +-
src/lib/raft/raft.c | 142 ++++++++-
src/lib/raft/raft.h | 30 +-
.../election_split_vote_test.lua | 92 ++++++
test/unit/raft.c | 299 +++++++++++++++++-
test/unit/raft.result | 64 +++-
test/unit/raft_test_utils.c | 12 +
test/unit/raft_test_utils.h | 5 +
9 files changed, 622 insertions(+), 31 deletions(-)
create mode 100644 changelogs/unreleased/election-timeout-cfg-crash.md
create mode 100644 test/replication-luatest/election_split_vote_test.lua
--
2.24.3 (Apple Git-128)
More information about the Tarantool-patches
mailing list