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

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

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

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

Jobs
ID Job ID Ran Files Coverage
2 926.2 20 Jun 2018 07:57AM UTC 0
96.01
Travis Job 926.2
Source Files on build 926
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #926
  • 016fadb6 on github
  • Prev Build on cache-reuse-txns (#930)
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