Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/4] Split vote
@ 2022-01-15  0:48 Vladislav Shpilevoy via Tarantool-patches
  2022-01-15  0:48 ` [Tarantool-patches] [PATCH 1/4] raft: fix crash on election_timeout reconfig Vladislav Shpilevoy via Tarantool-patches
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Vladislav Shpilevoy via Tarantool-patches @ 2022-01-15  0:48 UTC (permalink / raw)
  To: tarantool-patches, sergepetrenko

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)


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

end of thread, other threads:[~2022-01-21  0:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15  0:48 [Tarantool-patches] [PATCH 0/4] Split vote Vladislav Shpilevoy via Tarantool-patches
2022-01-15  0:48 ` [Tarantool-patches] [PATCH 1/4] raft: fix crash on election_timeout reconfig Vladislav Shpilevoy via Tarantool-patches
2022-01-18 13:12   ` Serge Petrenko via Tarantool-patches
2022-01-15  0:48 ` [Tarantool-patches] [PATCH 2/4] raft: track all votes, even not own Vladislav Shpilevoy via Tarantool-patches
2022-01-21  0:42   ` Vladislav Shpilevoy via Tarantool-patches
2022-01-15  0:48 ` [Tarantool-patches] [PATCH 3/4] raft: introduce split vote detection Vladislav Shpilevoy via Tarantool-patches
2022-01-18 13:20   ` Serge Petrenko via Tarantool-patches
2022-01-20  0:44     ` Vladislav Shpilevoy via Tarantool-patches
2022-01-20 10:21       ` Serge Petrenko via Tarantool-patches
2022-01-20 23:02         ` Vladislav Shpilevoy via Tarantool-patches
2022-01-15  0:48 ` [Tarantool-patches] [PATCH 4/4] election: activate raft split vote handling Vladislav Shpilevoy via Tarantool-patches
2022-01-18 13:21   ` Serge Petrenko via Tarantool-patches
2022-01-20  0:44     ` Vladislav Shpilevoy via Tarantool-patches
2022-01-16 14:10 ` [Tarantool-patches] [PATCH 0/4] Split vote Konstantin Osipov via Tarantool-patches
2022-01-17 22:57   ` Vladislav Shpilevoy via Tarantool-patches
2022-01-18  7:18     ` Konstantin Osipov via Tarantool-patches

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