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

tarantool / tarantool / 5962218466
88%

Build:
DEFAULT BRANCH: master
Ran 24 Aug 2023 10:05AM UTC
Jobs 1
Files 492
Run time 25s
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

24 Aug 2023 09:56AM UTC coverage: 86.313% (+0.02%) from 86.296%
5962218466

push

github

sergepetrenko
election: fix box.ctl.demote() nop in off-mode

box.ctl.demote() used not to do anything with election_mode='off'
if the synchro queue didn't belong to the caller in the same term
as the election state.

The reason could be that if the synchro queue term is "outdated",
there is no guarantee that some other instance doesn't own it in
the latest term right now.

The "problem" is that this could be workarounded easily by just
calling promote + demote together.

There isn't much sense in fixing it for the off-mode because the
only reasons off-mode exists are 1) for people who don't use
synchro at all, 2) who did use it and want to stop. Hence they
need demote just to disown the queue.

The patch "legalizes" the mentioned workaround by allowing to
perform demote in off-mode even if the synchro queue term is old.

Closes #6860

NO_DOC=bugfix

63879 of 115406 branches covered (55.35%)

18 of 18 new or added lines in 1 file covered. (100.0%)

95564 of 110718 relevant lines covered (86.31%)

2724834.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5962218466.1 24 Aug 2023 10:05AM UTC 0
86.31
GitHub Action Run
Source Files on build 5962218466
Detailed source file information is not available for this build.
  • Back to Repo
  • 1afe2274 on github
  • Prev Build on master (#5956579473)
  • Next Build on master (#5962237819)
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