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

tarantool / tarantool / 7069953302
85%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/test4
DEFAULT BRANCH: master
Ran 02 Dec 2023 11:51AM UTC
Jobs 1
Files 459
Run time 37s
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

02 Dec 2023 11:32AM UTC coverage: 85.108% (-0.005%) from 85.113%
7069953302

push

github

sergepetrenko
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

(cherry picked from commit ffa6ac15f)

59270 of 108265 branches covered (0.0%)

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

374 existing lines in 13 files now uncovered.

90466 of 106295 relevant lines covered (85.11%)

2171218.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7069953302.1 02 Dec 2023 11:51AM UTC 0
85.11
GitHub Action Run
Source Files on build 7069953302
Detailed source file information is not available for this build.
  • Back to Repo
  • b852c20a on github
  • Prev Build on release/2.10 (#7018195042)
  • Next Build on release/2.10 (#7098198519)
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