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

tarantool / tarantool / 39238220301
88%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 10:55AM UTC
Jobs 1
Files 528
Run time 1min
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

19 Oct 2026 10:32AM UTC coverage: 87.924% (-0.02%) from 87.944%
39238220301

push

github

locker
vinyl: fix vylog corruption on recovery

Since commit ea74dc982c8a ("vinyl: fix `vinyl_memory` overrun on
recovery") the vylog flusher fiber is enabled during local recovery,
so vylog transactions can be flushed to disk concurrently with
recovery.

vy_log_end_recovery(), which flushes the transactions committed by
the end of recovery, did that without taking the vylog latch. As a
result it raced with the flusher fiber flushing its own batch of
pending transactions: both fibers submitted their transactions to
the WAL thread in parallel, interleaving them in the vylog file in
an arbitrary order.

For example, if a vinyl space was truncated during recovery, the
VY_LOG_DROP_LSM record of the old LSM tree incarnation could be
written before the records creating it. Such a vylog fails to load
with the "Invalid VYLOG file" error, which is triggered by
box.snapshot() right after recovery or by the next instance
restart.

Fix this by taking the latch around the flush in
vy_log_end_recovery(), like all the other vylog writers do.

Closes #13448

NO_DOC=bugfix

72494 of 121511 branches covered (59.66%)

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

46 existing lines in 14 files now uncovered.

108874 of 123828 relevant lines covered (87.92%)

1408518.14 hits per line

Coverage Regressions

Lines Coverage ∆ File
20
90.65
-0.61% src/box/box.cc
4
94.15
-1.6% src/box/vy_range.c
4
22.64
-0.08% src/lib/uri/uri_parser.c
3
88.01
-0.2% src/box/vy_run.c
2
92.67
0.0% src/box/vinyl.c
2
96.15
-3.85% src/lib/core/iostream.h
2
72.17
-1.28% src/lib/core/opt_def.c
2
86.9
-0.29% src/lib/core/say.c
2
96.89
0.1% src/lib/msgpuck/msgpuck.h
1
95.22
-0.1% src/box/replication.cc
1
85.81
-0.03% src/box/xlog.c
1
89.9
0.02% src/box/xrow.c
1
96.3
-3.7% src/lib/digest/crc32_hw_impl.c
1
92.07
-0.11% src/lib/swim/swim.c
Jobs
ID Job ID Ran Files Coverage
1 39238220301.1 19 Oct 2026 10:55AM UTC 528
87.92
GitHub Action Run
Source Files on build 39238220301
  • Tree
  • List 528
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 199178d5 on github
  • Prev Build on master (#39038978260)
  • Next Build on master (#39252583829)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc