Skip to content
Snippets Groups Projects
Commit df6cf5ec 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>
parent ca58d6c9
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