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

dgraph-io / badger / 1613 / 1
61%
main: 61%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 25 Sep 2018 04:19AM UTC
Files 27
Run time 1s
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

25 Sep 2018 04:13AM UTC coverage: 80.396% (-0.4%) from 80.769%
1613.1

push

travis-ci

web-flow
Add a Jepsen style bank test for Badger (#577)

**Breaking Change**

This change breaks Value API. Instead of Value returning a byte slice, we now expose the byte slice from within a function. This is because when we read a value, we acquire a read lock on the value log. With the previous API it was possible for a transaction to deadlock, if multiple reads are done on the same log file, and those read locks get interleaved with a write lock caused by log file rotation. The new API fixes that by releasing the lock before another value is read; and also makes it obvious to the end user that they must copy the value to be able to use it outside the function.

This change also simplifies the transaction timestamp logic, learning from Dgraph. It simplifies it down to use just one variable `nextTxnTs` for tracking timestamps.

This change also adds a Jepsen style bank test for Badger, which is currently showing some transaction violations, needing further investigation.

4470 of 5560 relevant lines covered (80.4%)

105238.36 hits per line

Source Files on job 1613.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 6
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1518
  • Travis Job 1613.1
  • c10276c9 on github
  • Prev Job for on master (#1605.1)
  • Next Job for on master (#1615.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