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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 25 Sep 2018 04:19AM CUT
Jobs 1
Files 27
Run time 8s
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 CUT coverage: 80.396% (-0.4%) from 80.769%
1613

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

Jobs
ID Job ID Ran Files Coverage
1 1613.1 25 Sep 2018 04:19AM CUT 0
80.4
Travis Job 1613.1
Source Files on build 1613
  • List 0
  • Changed 16
  • Source Changed 6
  • Coverage Changed 16
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
  • Back to Repo
  • Travis Build #1613
  • c10276c9 on github
  • Prev Build on master (#1605)
  • Next Build on master (#1615)
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

© 2025 Coveralls, Inc