Skip to content
Snippets Groups Projects
Commit 73aaa884 authored by Serge Petrenko's avatar Serge Petrenko Committed by Vladislav Shpilevoy
Browse files

raft: fix an assertion failure in raft_stop_candidate


There is a false assertion in raft_stop_candidate(): it assumes that the
node must always have a running timer whenever it sees the leader.
This is not true when the node is busy writing the new term on disk.

Cover the mentioned case in the assertion.

Closes #8169

NO_DOC=bugfix

Co-authored-by: default avatarSergey Ostanevich <sergos@tarantool.org>
(cherry picked from commit df6cf5ec)
parent a1f6288a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment