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

tarantool / tarantool / 13412148028
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: backport/release/3.5/12373
DEFAULT BRANCH: master
Ran 19 Feb 2025 12:24PM 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

19 Feb 2025 12:07PM UTC coverage: 87.43% (+0.01%) from 87.418%
13412148028

push

github

sergepetrenko
memtx: fix a crash caused by mhash misusage in MVCC

We use mhash in memtx MVCC to store trackers of reads that have read
nothing, we call them point holes. When handling a write to such hole,
the tracker should be deleted because we can use the new tuple to store
reads instead. Deletion flow in mhash is: we find bucket of the element
with `find`, then we free the bucket with `del`. It can seem that the
element is not needed on `del` because bucket id is used. However, it
can be used on incremental resize of mhash. And, since we delete the
point holes before releasing the bucket in mhash, in the rare case of
incremental resize Tarantool will be aborted by mhash consistency check.
The commit fixes the problem - simply release the bucket before deleting
the object.

Along the way, the commit fixes another misusage that doesn't actually
break something. Method `put_slot` is internal so shouldn't be used
manually - let's use more convenient `get` instead.

Closes #11022

NO_DOC=bugfix

(cherry picked from commit 7c73e24de)

69845 of 123733 branches covered (56.45%)

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

42 existing lines in 15 files now uncovered.

102891 of 117684 relevant lines covered (87.43%)

2235196.35 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.74
-0.41% src/box/tuple_bloom.c
1
95.68
-0.72% src/box/vy_point_lookup.c
1
84.45
0.1% src/box/xlog.c
1
93.03
0.0% src/lib/core/fiber.c
1
91.68
0.0% src/lib/swim/swim.c
2
93.87
-0.31% src/box/memtx_space.c
2
95.54
-0.24% src/box/replication.cc
2
93.09
-1.06% src/box/vy_range.c
2
87.16
-0.13% src/box/vy_run.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
3
91.29
0.41% src/box/box.cc
4
94.25
-0.78% src/box/xrow_update_field.c
4
81.82
-12.12% src/lua/minifio.c
7
94.4
-1.45% src/box/vy_read_iterator.c
9
88.14
-7.63% src/box/vy_regulator.c
Jobs
ID Job ID Ran Files Coverage
1 13412148028.1 19 Feb 2025 12:24PM UTC 518
87.43
GitHub Action Run
Source Files on build 13412148028
  • Tree
  • List 518
  • Changed 425
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 561ae6b9 on github
  • Prev Build on release/3.3 (#13408991597)
  • Next Build on release/3.3 (#13416842160)
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