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

tarantool / tarantool / 9108575972
88%

Build:
DEFAULT BRANCH: master
Ran 16 May 2024 08:06AM 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:55AM UTC coverage: 87.086% (-0.02%) from 87.104%
9108575972

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

67438 of 119853 branches covered (56.27%)

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

48 existing lines in 12 files now uncovered.

100152 of 115003 relevant lines covered (87.09%)

2451729.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9108575972.1 16 May 2024 08:06AM UTC 0
87.09
GitHub Action Run
Source Files on build 9108575972
Detailed source file information is not available for this build.
  • Back to Repo
  • 1c4605bb on github
  • Prev Build on master (#9082246470)
  • Next Build on master (#9124687569)
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