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

tarantool / tarantool / 13518518822
88%

Build:
DEFAULT BRANCH: master
Ran 25 Feb 2025 10:16AM UTC
Jobs 1
Files 518
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.491% (+0.02%) from 87.468%
13518518822

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

69860 of 123293 branches covered (56.66%)

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

19 existing lines in 11 files now uncovered.

102942 of 117660 relevant lines covered (87.49%)

2208078.52 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.15
0.0% src/box/memtx_tx.c
1
96.12
-0.18% src/box/relay.cc
1
95.78
-0.12% src/box/replication.cc
1
93.53
-0.14% src/box/txn_limbo.c
1
93.13
0.1% src/lib/core/fiber.c
1
96.55
-1.15% src/lib/core/histogram.c
1
91.68
0.0% src/lib/swim/swim.c
2
91.39
0.51% src/box/box.cc
3
93.62
-1.06% src/box/vy_range.c
3
22.64
-0.06% src/lib/uri/uri_parser.c
4
92.55
-0.09% src/box/vinyl.c
Jobs
ID Job ID Ran Files Coverage
1 13518518822.1 25 Feb 2025 10:16AM UTC 518
87.49
GitHub Action Run
Source Files on build 13518518822
  • Tree
  • List 518
  • Changed 423
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 219e27d1 on github
  • Prev Build on master (#13507824201)
  • Next Build on master (#13525747751)
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