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

tarantool / tarantool / 9495574802
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gh-12390-fix-vinil-memory-limit-on-recovery
DEFAULT BRANCH: master
Ran 13 Jun 2024 08:41AM UTC
Jobs 1
Files 513
Run time 7min
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:34AM UTC coverage: 87.058% (-0.01%) from 87.07%
9495574802

push

github

sergepetrenko
relay: do not report vclock[0] anywhere

Remote replica's vclock is given to master to send data starting
from that position. The master does that, but, in order to find
the relevant position in local WAL to start from, the master must
ignore the local rows. Consider them all already "sent". For that
the master replaces the remote vclock[0] with the local vclock[0].
That makes xlog cursor skip all the local rows.

The problem is that this vclock was taken by relay as is, like if
it was truly reported by the replica. It was even saved as the
"last received ACK". Which clearly isn't the case.

When a real ACK was received, it didn't contain anything in
vclock[0], and yet relay "saw" that the previous ACK has
vclock[0] > 0. That looked like the replica went backwards without
even closing connection, which isn't possible. That made the relay
crash from cringe (on assert).

The fix is not to save the local vclock[0] in the last received
ACK.

For GC and xlog cursor the hack is still needed. An option how to
make it easier was to set vclock[0] to INT64_MAX to just never
even bother with any local rows, but that didn't work. Some
assumptions in other places seem to depend on having a proper
local LSN in these places.

Closes #10047

NO_CHANGELOG=the bug wasn't released
NO_DOC=bugfix

(cherry picked from commit 1f75231a0)

67380 of 119893 branches covered (56.2%)

8 of 8 new or added lines in 2 files covered. (100.0%)

44 existing lines in 13 files now uncovered.

100098 of 114979 relevant lines covered (87.06%)

2470049.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9495574802.1 13 Jun 2024 08:41AM UTC 0
87.06
GitHub Action Run
Source Files on build 9495574802
Detailed source file information is not available for this build.
  • Back to Repo
  • 7074c84f on github
  • Prev Build on release/3.1 (#9495589187)
  • Next Build on release/3.1 (#9499994563)
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