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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 29 Sep 2018 12:46AM CUT
Jobs 1
Files 27
Run time 5s
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

29 Sep 2018 12:40AM CUT coverage: 80.674% (+0.2%) from 80.499%
1628

push

travis-ci

web-flow
Fix Badger bank transaction violation (#594)

- Finally determined that the cause of #574 , was that Oracle was resetting the commit map, after handing out a read timestamp to the txn. This allowed the txn to not see another txn's commits on the same keyspace, causing the violation.
- Force more LSM compactions, and push all values to value log, to see if we can find more issues with Badger.
- Considered copying value log when returning from `db.get`, but it has not shown any race conditions so far (using the Go `--race` flag).
- So far, it looks like this PR fixes #574 .

Value struct copying changes (Value struct copy change did not make it in this PR, because I wasn't able to reproduce any race condition with the current logic of non-copy):

* Revert "Try with valuestruct copying."
This reverts commit 971859f41.
* Force more compactions to see if a non-copy of value struct would lead to race.
* Make all values go to value log.

4500 of 5578 relevant lines covered (80.67%)

203525.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1628.1 29 Sep 2018 12:46AM CUT 0
80.67
Travis Job 1628.1
Source Files on build 1628
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 15
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
  • Back to Repo
  • Travis Build #1628
  • 3c96d083 on github
  • Prev Build on master (#1622)
  • Next Build on master (#1630)
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