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

dgraph-io / badger / 1946 / 4
61%
main: 61%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 04 May 2019 01:33AM UTC
Files 31
Run time 251min
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

04 May 2019 01:22AM UTC coverage: 78.882%. First build
1946.4

push

travis-ci

manishrjain
Throttle writers while Batch Write and DB Restore (#762)

* Implement throttling while DB restore

DB restore works by reading backup file line by line, creating
batches of entries and writing those batches asynchronously by
calling db.batchSetSync method. In some cases if data is more,
there can be many batches which are not persisted and hence are
present in memory. As there is no throttling now, this can lead
to memory outage and crashing of restore application. This commit
throttles number of batches which can be present in memory.

* Throttle pending transactions in WriteBatch

Currently there is no limit on number of pending transactions(
uncomitted transactions) in WriteBatch. Sometimes this leads to
huge memory consumptions and atlast crashing of Badger. This commit
implements throttling in WriteBatch and hence limits pending
transactions count to a threshold.

5106 of 6473 relevant lines covered (78.88%)

572365.39 hits per line

Source Files on job 1946.4
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1791
  • Travis Job 1946.4
  • d2ebeac2 on github
  • Next Job for on master (#1952.3)
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