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

tarantool / tarantool / 13518566606
87%
master: 88%

Build:
Build:
LAST BUILD BRANCH: app-threads-module
DEFAULT BRANCH: master
Ran 25 Feb 2025 10:20AM UTC
Jobs 1
Files 514
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

25 Feb 2025 10:00AM UTC coverage: 87.349% (+0.02%) from 87.334%
13518566606

push

github

locker
vinyl: fix gc of incomplete runs left after dropped space

A space may be dropped while it's being compacted. The vinyl garbage
collector purges all run files left after a dropped space, including
`.run.inprogress` and `.index.inprogress` files currently being written
by compaction tasks. As a result, when a compaction task is completed,
it may fail to rename the new run file with a `ENOENT` error:

```
vinyl.compaction.0/102/task xlog.c:800 !> can't rename ./512/0/00000000000000000006.index.inprogress to ./512/0/00000000000000000006.index: No such file or directory
```

This bug has another effect. If the compaction starts writing the file
after the garbage collector purges meta-information about it from vylog,
the run file will be successfully written but never committed to vylog.
As a result, it will never be deleted.

Let's fix this issue by making the garbage collector skip incomplete
runs unless explicitly instructed to delete them (`VY_GC_INCOMPLETE`).
Compaction tasks now discard run files on completion if the space was
dropped while compaction was in progress so that they are removed during
the next garbage collection round.

Closes #11163

NO_DOC=bug fix

(cherry picked from commit 219e27d18)

68849 of 122093 branches covered (56.39%)

7 of 7 new or added lines in 2 files covered. (100.0%)

24 existing lines in 11 files now uncovered.

101509 of 116211 relevant lines covered (87.35%)

1954693.93 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.94
-0.18% src/box/relay.cc
1
95.15
-0.13% src/box/replication.cc
1
22.62
-0.02% src/lib/uri/uri_parser.c
2
84.35
-0.04% src/box/xlog.c
2
88.69
-0.13% src/box/xrow.c
2
94.63
-0.36% src/box/xrow_update_field.c
2
85.71
-9.52% src/lib/core/tt_sigaction.c
2
91.34
-0.22% src/lib/swim/swim.c
3
84.53
-1.08% src/lib/core/coio.c
4
97.05
-0.41% src/lib/msgpuck/msgpuck.h
4
81.82
-12.12% src/lua/minifio.c
Jobs
ID Job ID Ran Files Coverage
1 13518566606.1 25 Feb 2025 10:20AM UTC 514
87.35
GitHub Action Run
Source Files on build 13518566606
  • Tree
  • List 514
  • Changed 452
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 47b17c11 on github
  • Prev Build on release/3.2 (#13459363141)
  • Next Build on release/3.2 (#13538799576)
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