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

tarantool / tarantool / 7032685663
88%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2023 12:51PM UTC
Jobs 1
Files 507
Run time 57s
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

29 Nov 2023 12:41PM UTC coverage: 86.808% (+0.02%) from 86.79%
7032685663

push

github

sergos
replication: send anonymous replica version id

Starting with commit f1c2127d4367 ("replication: add META stage to JOIN")
replication master appends a special section, called IPROTO_JOIN_META to
the initial snapshot sent to the replica. This section contains the
latest raft term and synchronous transaction queue owner and term.

The section is only sent to nodes, which have a non-zero version_id.
For some reason, version_id encoding for FETCH_SNAPSHOT (analog of JOIN
for anonymous replicas) wasn't added in that commit, so anonymous
replicas do not receive synchronous queue state.

This leads to them raising ER_SPLIT_BRAIN errors later after join, when
the first synchronous row arrives.

In order to fix this, start encoding version_id in FETCH_SNAPSHOT
requests.

Closes #9401

@TarantoolBot document
Title: new field in `IPROTO_FETCH_SNAPSHOT` request

`IPROTO_FETCH_SNAPSHOT` request was bodyless (only contained a header)
until now, but now it receives a body with a single field:
`IPROTO_SERVER_VERSION` : MP_UINT -- an encoded representation of the
server version of a replica issuing the request.

66005 of 118147 branches covered (0.0%)

20 of 21 new or added lines in 4 files covered. (95.24%)

42 existing lines in 22 files now uncovered.

98163 of 113080 relevant lines covered (86.81%)

2656688.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7032685663.1 29 Nov 2023 12:51PM UTC 0
86.81
GitHub Action Run
Source Files on build 7032685663
Detailed source file information is not available for this build.
  • Back to Repo
  • 58c006c9 on github
  • Prev Build on master (#7031537567)
  • Next Build on master (#7034028917)
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