Skip to content
Snippets Groups Projects
Commit 67090419 authored by Serge Petrenko's avatar Serge Petrenko Committed by Kirill Yukhin
Browse files

relay: fix PROMOTE and raft term ordering

Fix two issues with sent_raft_term calculations:
* first of all, it doesn't matter during initial and final join, so set it
  to UINT64_MAX.
* secondly, it's nullified after a successful dispatch from the tx
  thread. This might make the relay stall forever. For example, when
  elections are disabled.

NO_DOC=bugfix
NO_TEST=tested in next commit
parent 7a582646
No related branches found
No related tags found
Loading
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