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

tarantool / tarantool / 13518576674
86%
master: 88%

Build:
Build:
LAST BUILD BRANCH: gerold103/gh-8095-synchro-promote-part1
DEFAULT BRANCH: master
Ran 25 Feb 2025 10:33AM 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

25 Feb 2025 10:01AM UTC coverage: 86.021% (-0.03%) from 86.053%
13518576674

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)

63428 of 114804 branches covered (55.25%)

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

47 existing lines in 9 files now uncovered.

94381 of 109719 relevant lines covered (86.02%)

1891383.34 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
94.54
-0.17% src/box/replication.cc
1
92.09
0.04% src/box/vinyl.c
1
94.25
-0.21% src/box/vy_read_iterator.c
2
84.01
-0.74% src/lib/core/coio.c
2
95.18
-0.42% src/lua/fiber.c
3
86.52
-0.07% src/box/vy_run.c
5
89.49
-0.51% src/box/memtx_engine.cc
15
91.67
-2.45% src/box/memtx_space.c
17
86.58
-0.59% src/box/box.cc
Jobs
ID Job ID Ran Files Coverage
1 13518576674.1 25 Feb 2025 10:33AM UTC 479
86.02
GitHub Action Run
Source Files on build 13518576674
  • Tree
  • List 479
  • Changed 394
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • decd811f on github
  • Prev Build on release/2.11 (#13507645843)
  • Next Build on release/2.11 (#13538803686)
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