[Tarantool-patches] [PATCH 0/2] Raft crash on re-enablence

Alexander V. Tikhonov avtikhon at tarantool.org
Wed Nov 11 00:09:08 MSK 2020


Hi Vlad, I've checked all results in gitlab-ci, and no new degradations
found [1], patch LGTM.

[1] - https://gitlab.com/tarantool/tarantool/-/pipelines/213913895

On Sat, Nov 07, 2020 at 05:45:30PM +0100, Vladislav Shpilevoy wrote:
> 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