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

CZ-NIC / knot-resolver / 926 / 2
96%
master: 68%

Build:
Build:
LAST BUILD BRANCH: respdiff
DEFAULT BRANCH: master
Ran 20 Jun 2018 07:57AM UTC
Files 117
Run time 6s
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

20 Jun 2018 07:57AM UTC coverage: 96.014% (+19.3%) from 76.762%
926.2

push

travis-ci

Marek Vavrusa
lib/cache: reuse read-only transactions

usual pattern is that several read transactions
are spawned for each query, which has a modest
cost for some backends such as LMDB. in order to
amortize this cost, a read-only transaction is
reused as long as:
* there is no write transaction
* cache is not cleared/closed

this has potential drawbacks and risks:
* stale read transaction will prevent freeing
  pages if running in multi-process mode, but
  in practice this shouldn't happen, only if one
  process was doing nothing and the other busy
* some other backends use the concept of transaction
  to cache content from remote servers (Redis),
  in this case we shouldn't reuse it indefinitely

195 of 217 branches covered (89.86%)

819 of 853 relevant lines covered (96.01%)

5.41 hits per line

Source Files on job 926.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1575
  • Travis Job 926.2
  • 016fadb6 on github
  • Prev Job for on cache-reuse-txns (#930.1)
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