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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 22 Feb 2019 09:27PM CUT
Jobs 2
Files 30
Run time 12min
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

22 Feb 2019 09:19PM CUT coverage: 79.405% (-0.03%) from 79.434%
1859

push

travis-ci

web-flow
Introduce DropPrefix API in Badger (#715)

This API would allow Badger to completely get rid of the given prefix, P. It does this by:

1. Flushing memtables to disk (skipping over the keys with P).
2. Doing normal compaction from L0 -> L1 (skipping keys with P).
3. Doing same level compaction on all the rest of the levels, picking tables which might have the prefix and rewriting them to new tables (again, skipping keys with P).

Before starting, all the writes are paused, the usual bits which apply to `DropAll` apply here as well.

Note: This PR has a breaking change for the Logger interface. It adds a Debugf API.

Changes:

* Working drop prefix
* Make the drop prefix more robust. Add a new Debugf API for logging.
* Add parallel tests for DropPrefix
* Avoid a test failure due to removing p dir.
* Only test DropPrefix in DropPrefix test.
* Address Martin's comments

5016 of 6317 relevant lines covered (79.4%)

177241.61 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1859.2 22 Feb 2019 09:27PM CUT 0
79.31
Travis Job 1859.2
3 1859.3 22 Feb 2019 09:30PM CUT 0
79.28
Travis Job 1859.3
Source Files on build 1859
  • List 0
  • Changed 18
  • Source Changed 5
  • Coverage Changed 18
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #1859
  • 291295e1 on github
  • Prev Build on master (#1856)
  • Next Build on master (#1863)
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