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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 18 Jul 2019 06:29PM CUT
Jobs 3
Files 37
Run time 2min
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

18 Jul 2019 06:29PM CUT coverage: 79.237% (-0.01%) from 79.247%
2441

push

travis-ci

GitHub
Fix discard stats moved by GC bug (#929)

* Fix discard stats moved by GC bug

The discard stats are stored like normal keys in badger, which means if
the size of the value of discard stats key is greater the value threshold it
will be stored in the value log. When value log GC happens, we insert
the same key in badger with a !badger!move prefix which points to the
new value log file. So when searching for the value of a key, if the value
points to a value log file which doesn't exist, we search for the same
key with !badger!move prefix.

The above logic was missing from the populateDiscardStats function. The
earlier implementation would never search for the key with !badger!move
prefix. It would return error on the first attempt to find the key. This
commit ensures we search for a key with prefix badger move if the value
for the existing key pointed to a value log file that no longer exists.

5839 of 7369 relevant lines covered (79.24%)

234382.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2441.1 18 Jul 2019 06:30PM CUT 0
79.13
Travis Job 2441.1
2 2441.2 18 Jul 2019 06:29PM CUT 0
79.04
Travis Job 2441.2
3 2441.3 18 Jul 2019 06:31PM CUT 0
79.11
Travis Job 2441.3
Source Files on build 2441
  • List 0
  • Changed 28
  • Source Changed 15
  • Coverage Changed 28
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #2441
  • 50c90edf on github
  • Prev Build on master (#2440)
  • Next Build on master (#2443)
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