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

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

Build:
Build:
LAST BUILD BRANCH: respdiff
DEFAULT BRANCH: master
Ran 14 May 2016 10:26PM UTC
Jobs 1
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

pending completion
930

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

Jobs
ID Job ID Ran Files Coverage
1 930.1 14 May 2016 10:26PM UTC 0
76.76
Travis Job 930.1
Source Files on build 930
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #930
  • ca6e4439 on github
  • Next Build on cache-reuse-txns (#926)
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