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

tarantool / tarantool / 14084675805
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: mandesero/asan-build-with-gc64-on
DEFAULT BRANCH: master
Ran 26 Mar 2025 02:32PM UTC
Jobs 1
Files 479
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

26 Mar 2025 01:32PM UTC coverage: 86.074% (-0.01%) from 86.084%
14084675805

push

github

locker
vinyl: do not reset cache link LSN on partial key lookup

Since commit e8109b2fe0b3 ("vinyl: ignore cache chains with invisible
DELETEs") each cache node stores the LSNs of the left and right links.
They are used to ignore links that are invisible from the current read
view (created after the read view was opened). We update the LSN not
only when we link two nodes together but also when we update the node's
boundary level. This is incorrect if the node is linked.

For example, suppose we have an index over two fields that contains
tuples {0,2} and {2,0} and there's a transaction that was sent to
a read view. Now another transaction inserts {0,1} and deletes {0,2},
then selects all tuples. This results in creation of two interlinked
cache nodes: {0,1} and {2,0}. The link is invisible from the read view:
since we skipped DELETE{0,2}, its LSN equals the LSN of the DELETE
statement, which is greater than the read view LSN. However, if we now
select GT{1}, we will update the boundary level of the node storing
{2,0} from 2 to 1 and reset its LSN to 0 because we didn't skip any
DELETE statements. As a result, if the transaction operating in the read
view tries to select GT{0,1}, it will find {2,0}, see that it's
left-linked and the link LSN is 0, and return it right away, skipping
{0,2}, which is visible from the read view.

To fix this issue, let's skip the boundary level update if the node
is linked. It doesn't make sense anyway because the boundary level is
used only for unlinked nodes, see vy_cache_iterator_is_stop().

Follow-up #11079
Closes #11294

NO_DOC=bug fix

(cherry picked from commit ae519ede4)

63466 of 114806 branches covered (55.28%)

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

22 existing lines in 8 files now uncovered.

94403 of 109677 relevant lines covered (86.07%)

1895190.91 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.85
-0.52% src/box/lua/init.c
1
96.12
-0.19% src/box/relay.cc
1
92.35
-0.17% src/box/txn_limbo.c
1
94.25
-0.21% src/box/vy_read_iterator.c
1
95.4
-1.15% src/histogram.c
3
92.09
-0.05% src/box/vinyl.c
5
86.39
-0.2% src/box/vy_run.c
9
88.14
-7.63% src/box/vy_regulator.c
Jobs
ID Job ID Ran Files Coverage
1 14084675805.1 26 Mar 2025 02:32PM UTC 479
86.07
GitHub Action Run
Source Files on build 14084675805
  • Tree
  • List 479
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • a253dd84 on github
  • Prev Build on release/2.11 (#14029297105)
  • Next Build on release/2.11 (#14101951805)
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