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

tarantool / tarantool / 7051678020
88%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2023 08:13PM UTC
Jobs 1
Files 507
Run time 58s
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

30 Nov 2023 08:05PM UTC coverage: 86.822% (+0.01%) from 86.812%
7051678020

push

github

ylobankov
replication: fix extraneous split-brain alerting

Current split-brain detector implementation raises an error each time a
CONFIRM or ROLLBACK entry is received from the previous synchronous
transaction queue owner. It is assumed that the new queue owner must
have witnessed all the previous CONFIRMS. Besides, according to Raft,
ROLLBACK should never happen.

Actually there is a case when a CONFIRM from an old term is legal: it's
possible that during leader transition old leader writes a CONFIRM for
the same transaction that is confirmed by the new leader's PROMOTE. If
PROMOTE and CONFIRM lsns match there is nothing bad about such
situation.

Symmetrically, when an old leader issues a ROLLBACK with the lsn right
after the new leader's PROMOTE lsn, it is not a split-brain.

Allow such cases by tracking the last confirmed lsn for each synchronous
transaction queue owner and silently nopifying CONFIRMs with an lsn less
than the one recorded and ROLLBACKs with lsn greater than that.

Closes #9138

NO_DOC=bugfix

66070 of 118172 branches covered (0.0%)

21 of 23 new or added lines in 2 files covered. (91.3%)

358 existing lines in 14 files now uncovered.

98230 of 113140 relevant lines covered (86.82%)

2659437.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7051678020.1 30 Nov 2023 08:13PM UTC 0
86.82
GitHub Action Run
Source Files on build 7051678020
Detailed source file information is not available for this build.
  • Back to Repo
  • ffa6ac15 on github
  • Prev Build on master (#7045970874)
  • Next Build on master (#7088273036)
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