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

tarantool / tarantool / 13416802382
88%

Build:
DEFAULT BRANCH: master
Ran 19 Feb 2025 04:16PM UTC
Jobs 1
Files 518
Run time 2min
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 Feb 2025 03:54PM UTC coverage: 87.466% (+0.03%) from 87.441%
13416802382

push

github

locker
vinyl: don't create cache chain over unconfirmed deferred DELETE

While scanning a non-unique secondary index of a vinyl space, we skip
a tuple if there's no match for it in the primary index because it means
that the tuple was overwritten by a newer statement but the secondary
index DELETE was deferred until compaction. We still create a cache
chain link in this case so that we skip the overwritten tuple when
we scan the secondary index next time. We do it even if the overwriting
statement is unconfirmed (not yet written to WAL), which is actually
incorrect. The problem is that if the overwriting statement is rolled
back on a WAL write error, the chain created in the secondary index
cache won't be broken because nothing was actually written to the
secondary index (DELETE was deferred) therefore there's nothing to
roll back therefore there's nothing to invalidate the cache by.
As a result, the tuple that the user attempted to delete but failed
due to a WAL error will become inaccessible via the secondary index
because of the stale cache chain.

Fix this issue by disabling creation of a cache chain link in case
the read iterator skipped an unconfirmed deferred DELETE statement.

Closes #11140

NO_DOC=bug fix

69883 of 123363 branches covered (56.65%)

8 of 8 new or added lines in 1 file covered. (100.0%)

11 existing lines in 7 files now uncovered.

102980 of 117737 relevant lines covered (87.47%)

2218561.34 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.53
-0.14% src/box/txn_limbo.c
1
92.57
0.14% src/box/vinyl.c
1
90.38
-1.92% src/lib/core/trigger.cc
1
96.15
-0.05% src/lib/salad/bps_tree.h
2
87.43
-0.13% src/box/vy_run.c
2
97.36
0.0% src/lib/msgpuck/msgpuck.h
3
92.94
-0.28% src/lib/core/fiber.c
Jobs
ID Job ID Ran Files Coverage
1 13416802382.1 19 Feb 2025 04:16PM UTC 518
87.47
GitHub Action Run
Source Files on build 13416802382
  • Tree
  • List 518
  • Changed 450
  • Source Changed 0
  • Coverage Changed 26
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 74f45f41 on github
  • Prev Build on master (#13401177874)
  • Next Build on master (#13436472515)
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