|
Ran
|
Jobs
1
|
Files
479
|
Run time
1min
|
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)
62689 of 113900 branches covered (55.04%)
8 of 9 new or added lines in 2 files covered. (88.89%)
269 existing lines in 9 files now uncovered.93575 of 109012 relevant lines covered (85.84%)
2594881.36 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 9495515651.1 | 0 |
85.84 |
GitHub Action Run |