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

tarantool / tarantool / 13385684758
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/restart_server
DEFAULT BRANCH: master
Ran 18 Feb 2025 08:08AM UTC
Jobs 1
Files 518
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

18 Feb 2025 07:47AM UTC coverage: 87.399% (-0.01%) from 87.412%
13385684758

push

github

locker
vinyl: take into account deferred DELETEs when creating cache chains

Each cache chain stores the max LSN among all DELETE statements that are
known to fall in the chain. This LSN is required so that an older read
view can ignore the chain, otherwise it could skip tuples deleted after
the read view was created (see the previous commit).

The problem is, apart from regular DELETE statements, there may be so
called "deferred" ones. Deferred DELETE statements aren't written to
secondary indexes immediately on commit - this is done later, when
the primary index is compacted. If we don't find the corresponding
full tuple in the primary index by a partial tuple key fetched from
a secondary index, we skip it and create a cache chain leaping over
it so that we don't read it again on the next scan. We don't take
into account the deferred DELETE LSN in this case, as a result,
we face the same problem we fixed in the previous commit for regular
DELETEs.

To avoid that, let's keep track of the max LSN among all skipped
statements and use it for the cache chain. Note, we have to patch
vy_point_lookup() so that it can keep a DELETE statement instead of
returning NULL - we need it to extract its LSN for the cache. This
changes the stats a bit hence the vinyl/deferred_delete test update.

Closes #11079

NO_DOC=bug fix

(cherry picked from commit d31bd73d6)

69805 of 123733 branches covered (56.42%)

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

86 existing lines in 17 files now uncovered.

102838 of 117665 relevant lines covered (87.4%)

2422317.67 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.66
-0.14% src/box/txn_limbo.c
1
95.74
-0.53% src/box/vy_range.c
1
87.23
0.07% src/box/vy_run.c
1
91.23
0.19% src/box/vy_scheduler.c
1
96.55
-1.15% src/lib/core/histogram.c
2
84.34
0.0% src/box/xlog.c
2
94.25
0.0% src/box/xrow_update_field.c
2
82.22
-4.44% src/lib/core/latch.h
2
95.45
-4.55% src/lib/json/json.h
3
90.7
-0.22% src/box/applier.cc
3
22.64
-0.06% src/lib/uri/uri_parser.c
4
92.28
-0.08% src/box/vinyl.c
4
92.83
-0.4% src/lib/core/fiber.c
6
97.28
-0.4% src/box/lua/net_box.c
15
89.5
0.02% src/box/vy_lsm.c
19
90.87
-0.61% src/box/box.cc
19
95.03
0.41% src/box/vy_cache.c
Jobs
ID Job ID Ran Files Coverage
1 13385684758.1 18 Feb 2025 08:08AM UTC 518
87.4
GitHub Action Run
Source Files on build 13385684758
  • Tree
  • List 518
  • Changed 436
  • Source Changed 0
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 55c3dc13 on github
  • Prev Build on release/3.3 (#13372901109)
  • Next Build on release/3.3 (#13393471664)
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