|
Ran
|
Files
479
|
Run time
19s
|
Badge
README BADGES
|
push
github
box: prevent demoted leader from being a candidate in the next elections Currently, the demoted leader sees that nobody has requested a vote in the newly persisted term (because it has just written it without voting, and nobody had time to see the new term yet), and hence votes for itself, becoming the most probable winner of the next elections. To prevent this from happening, let's forbid the demoted leader to be a candidate in the next elections using `box_raft_leader_step_off`. Closes #9855 NO_DOC=<bugfix> Co-authored-by: Serge Petrenko <sergepetrenko@tarantool.org> (cherry picked from commit 05d03a1c5)
62694 of 113900 branches covered (55.04%)
93584 of 109012 relevant lines covered (85.85%)
2644997.22 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|