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

tarantool / tarantool / 13397747737
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part1
DEFAULT BRANCH: master
Ran 18 Feb 2025 06:52PM UTC
Jobs 1
Files 479
Run time 33min
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 06:38PM UTC coverage: 86.052% (+0.01%) from 86.038%
13397747737

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)

63458 of 114790 branches covered (55.28%)

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

18 existing lines in 8 files now uncovered.

94415 of 109719 relevant lines covered (86.05%)

1892614.98 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.1
-0.05% src/box/vinyl.c
1
96.0
-4.0% src/lib/core/trigger.h
1
98.23
-0.06% src/lib/salad/bps_tree.h
1
91.45
-0.11% src/lib/swim/swim.c
3
90.01
-0.23% src/box/applier.cc
3
93.09
-1.6% src/box/vy_range.c
3
89.4
-0.31% src/box/vy_scheduler.c
5
93.71
-0.83% src/box/replication.cc
Jobs
ID Job ID Ran Files Coverage
1 13397747737.1 18 Feb 2025 06:52PM UTC 479
86.05
GitHub Action Run
Source Files on build 13397747737
  • Tree
  • List 479
  • Changed 413
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3dc8a3b1 on github
  • Prev Build on release/2.11 (#13393492527)
  • Next Build on release/2.11 (#13399235540)
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