Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH 0/2] Raft crash on re-enablence
@ 2020-11-07 16:45 Vladislav Shpilevoy
  2020-11-07 16:45 ` [Tarantool-patches] [PATCH 1/2] raft: fix crash on sm restart during WAL write Vladislav Shpilevoy
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Vladislav Shpilevoy @ 2020-11-07 16:45 UTC (permalink / raw)
  To: tarantool-patches, sergepetrenko, avtikhon

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)

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

end of thread, other threads:[~2020-11-10 22:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 16:45 [Tarantool-patches] [PATCH 0/2] Raft crash on re-enablence Vladislav Shpilevoy
2020-11-07 16:45 ` [Tarantool-patches] [PATCH 1/2] raft: fix crash on sm restart during WAL write Vladislav Shpilevoy
2020-11-09 10:16   ` Serge Petrenko
2020-11-07 16:45 ` [Tarantool-patches] [PATCH 2/2] raft: fix crash on candidate cfg " Vladislav Shpilevoy
2020-11-09 10:19   ` Serge Petrenko
2020-11-09 22:42     ` Vladislav Shpilevoy
2020-11-10  7:48       ` Serge Petrenko
2020-11-10 21:09 ` [Tarantool-patches] [PATCH 0/2] Raft crash on re-enablence Alexander V. Tikhonov
2020-11-10 22:05 ` Vladislav Shpilevoy

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