[Tarantool-patches] [PATCH 1/1] raft: fix crash when leader resigned from its role
Kirill Yukhin
kyukhin at tarantool.org
Fri Oct 16 10:16:13 MSK 2020
Hello,
On 16 окт 00:47, Vladislav Shpilevoy wrote:
> Nodes with disabled Raft keep listening for Raft events and
> persist them. To be able to quickly enroll into the process if
> they are configured to be candidates.
>
> The same for the voter nodes - they can't be a leader, but watch
> and persist all what is happening.
>
> However when a leader resigned from its role, the voter and
> disabled nodes tried to start a new election round, even though
> they were not supposed to. That led to a crash, and is fixed in
> this patch.
>
> Closes #5426
> ---
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-5426-raft-crash-on-election-toogle
> Issue: https://github.com/tarantool/tarantool/issues/5426
LGTM. I've checked your patch into master.
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list