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

tarantool / tarantool / 12243
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: ninarodicova/test2
DEFAULT BRANCH: master
Ran 24 May 2018 07:49AM UTC
Jobs 1
Files 301
Run time 17s
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
12243

push

travis-ci

locker
memtx: run garbage collection on demand

When a memtx space is dropped or truncated, we delegate freeing tuples
stored in it to a background fiber so as not to block the caller (and tx
thread) for too long. Turns out it doesn't work out well for ephemeral
spaces, which share the destruction code with normal spaces: the problem
is the user might issue a lot of complex SQL SELECT statements that
create a lot of ephemeral spaces and do not yield and hence don't give
the garbage collection fiber a chance to clean up. There's a test that
emulates this, 2.0:test/sql-tap/gh-3083-ephemeral-unref-tuples.test.lua.
For this test to pass, let's run garbage collection procedure on demand,
i.e. when any of memtx allocation functions fails to allocate memory.

Follow-up #3408

13 of 13 new or added lines in 1 file covered. (100.0%)

38803 of 47520 relevant lines covered (81.66%)

923571.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
100.0
src/box/memtx_engine.c

Coverage Regressions

Lines Coverage ∆ File
20
100.0
src/box/index.cc
15
100.0
src/box/memtx_tree.c
11
100.0
src/box/memtx_hash.c
7
100.0
src/box/memtx_engine.c
5
100.0
src/box/xlog.c
3
100.0
src/lib/salad/mhash.h
2
100.0
src/box/vinyl.c
1
100.0
src/box/memtx_engine.h
1
100.0
src/box/xrow.c
1
100.0
src/lib/small/test/rb_rand.cc
1
100.0
src/coio.cc
1
100.0
src/box/recovery.cc
Jobs
ID Job ID Ran Files Coverage
3 12243.3 (TARGET=coverage) 24 May 2018 07:49AM UTC 0
81.66
Travis Job 12243.3
Source Files on build 12243
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12243
  • 39c8b526 on github
  • Prev Build on 1.10 (#12226)
  • Next Build on 1.10 (#12265)
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