• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / tarantool / 9495571047
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/branch_for_fix_bug
DEFAULT BRANCH: master
Ran 13 Jun 2024 08:23AM UTC
Jobs 1
Files 479
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Jun 2024 07:33AM UTC coverage: 85.847% (+0.008%) from 85.839%
9495571047

push

github

sergepetrenko
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

Jobs
ID Job ID Ran Files Coverage
1 9495571047.1 13 Jun 2024 08:23AM UTC 0
85.85
GitHub Action Run
Source Files on build 9495571047
Detailed source file information is not available for this build.
  • Back to Repo
  • 22a9cfd8 on github
  • Prev Build on release/2.11 (#9495515651)
  • Next Build on release/2.11 (#9499989973)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc