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

CZ-NIC / knot-resolver / 930 / 1
96%
master: 68%

Build:
Build:
LAST BUILD BRANCH: respdiff
DEFAULT BRANCH: master
Ran 14 May 2016 10:26PM UTC
Files 29
Run time 2s
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

14 May 2016 10:24PM UTC coverage: 76.762%. First build
930.1

push

travis-ci

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

4618 of 6016 relevant lines covered (76.76%)

4354.01 hits per line

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