[Tarantool-patches] [PATCH 0/2] Raft crash on re-enablence
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Sat Nov 7 19:45:30 MSK 2020
The patchset fixes 2 crashes related to Raft WAL write being in progress,
when the state machine is restarted, and when it is configured to be a candidate
with a known leader.
Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5506-raft-crash
Issue: https://github.com/tarantool/tarantool/issues/5506
@ChangeLog
* Fixed a couple of crashes on various tweaks of election mode (gh-5506).
Vladislav Shpilevoy (2):
raft: fix crash on sm restart during WAL write
raft: fix crash on candidate cfg during WAL write
src/box/raft.c | 23 ++-
.../gh-5506-election-on-off.result | 140 ++++++++++++++++++
.../gh-5506-election-on-off.test.lua | 68 +++++++++
test/replication/suite.cfg | 1 +
test/replication/suite.ini | 2 +-
5 files changed, 225 insertions(+), 9 deletions(-)
create mode 100644 test/replication/gh-5506-election-on-off.result
create mode 100644 test/replication/gh-5506-election-on-off.test.lua
--
2.21.1 (Apple Git-122.3)
More information about the Tarantool-patches
mailing list