|
Ran
|
Jobs
1
|
Files
305
|
Run time
41s
|
Badge
README BADGES
|
push
travis-ci
vinyl: don't purge deleted runs from vylog on compaction After compacting runs, we first mark them as dropped (VY_LOG_DROP_RUN), then try to delete their files unless they are needed for recovery from the checkpoint, and finally mark them as not needed in the vylog (VY_LOG_FORGET_RUN). There's a potential race sitting here: the problem is the garbage collector might kick in after files are dropped, but before they are marked as not needed. If this happens, there will be runs that have two VY_LOG_FORGET_RUN records, which will break recovery: Run XX is forgotten, but not registered The following patches make the race more likely to happen so let's eliminate it by making the garbage collector the only one who can mark runs as not needed (i.e. write VY_LOG_FORGET_RUN record). There will be no warnings, because the garbage collector silently ignores ENOENT errors, see vy_gc(). Another good thing about this patch is that now we never yield inside a vylog transaction, which makes it easier to remove the vylog latch blocking implementation of transactional DDL. (cherry picked from commit 30c9c7c01)
2 of 2 new or added lines in 1 file covered. (100.0%)
41584 of 50411 relevant lines covered (82.49%)
848681.36 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 5 | 17309.5 (TARGET=coverage) | 0 |
82.49 |
Travis Job 17309.5 |