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

tarantool / tarantool / 17309
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: refs/pull/12282/merge
DEFAULT BRANCH: master
Ran 06 Jun 2019 02:29PM UTC
Jobs 1
Files 305
Run time 41s
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

pending completion
17309

push

travis-ci

locker
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

Jobs
ID Job ID Ran Files Coverage
5 17309.5 (TARGET=coverage) 06 Jun 2019 02:29PM UTC 0
82.49
Travis Job 17309.5
Source Files on build 17309
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #17309
  • beb4c0ce on github
  • Prev Build on 1.10 (#17278)
  • Next Build on 1.10 (#17389)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc