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

tarantool / tarantool / 9108683127
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: m.kostoev/delete_range
DEFAULT BRANCH: master
Ran 16 May 2024 08:28AM UTC
Jobs 1
Files 479
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

16 May 2024 08:00AM UTC coverage: 85.805% (-0.02%) from 85.828%
9108683127

push

github

locker
vinyl: fix use-after-free of LSM tree in scheduler

Between picking an LSM tree from a heap and taking a reference to it in
vy_task_new() there are a few places where the scheduler may yield:
 - in vy_worker_pool_get() to start a worker pool;
 - in vy_task_dump_new() to wait for a memory tree to be unpinned;
 - in vy_task_compaction_new() to commit an entry to the metadata log
   after splitting or coalescing a range.

If a concurrent fiber drops and deletes the LSM tree in the meanwhile,
the scheduler will crash. To avoid that, let's take a reference to
the LSM tree.

It's quite difficult to write a functional test for it without a bunch
of ugly error injections so we rely on fuzzing tests.

Closes #9995

NO_DOC=bug fix
NO_TEST=fuzzing

(cherry picked from commit 1c4605bb9)

62584 of 113808 branches covered (54.99%)

9 of 10 new or added lines in 1 file covered. (90.0%)

33 existing lines in 10 files now uncovered.

93477 of 108941 relevant lines covered (85.81%)

2602702.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9108683127.1 16 May 2024 08:28AM UTC 0
85.81
GitHub Action Run
Source Files on build 9108683127
Detailed source file information is not available for this build.
  • Back to Repo
  • 660c355f on github
  • Prev Build on release/2.11 (#9080419927)
  • Next Build on release/2.11 (#9127410125)
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