|
Ran
|
Jobs
1
|
Files
479
|
Run time
10min
|
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%)
8 of 9 new or added lines in 2 files covered. (88.89%)
166 existing lines in 10 files now uncovered.93584 of 109012 relevant lines covered (85.85%)
2644997.22 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 9495571047.1 | 0 |
85.85 |
GitHub Action Run |