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

tarantool / tarantool / 9108663595
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: release/3.3
DEFAULT BRANCH: master
Ran 16 May 2024 08:14AM UTC
Jobs 1
Files 513
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 07:59AM UTC coverage: 87.058% (+0.03%) from 87.028%
9108663595

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)

67341 of 119815 branches covered (56.2%)

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

27 existing lines in 14 files now uncovered.

100056 of 114930 relevant lines covered (87.06%)

2449354.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9108663595.1 16 May 2024 08:14AM UTC 0
87.06
GitHub Action Run
Source Files on build 9108663595
Detailed source file information is not available for this build.
  • Back to Repo
  • 35991234 on github
  • Prev Build on release/3.1 (#9080396049)
  • Next Build on release/3.1 (#9127389715)
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