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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions-eb8e6b6abe
DEFAULT BRANCH: main
Ran 04 May 2019 01:29AM CUT
Jobs 2
Files 31
Run time 266min
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 CUT coverage: 79.067%. First build
1946

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.

5118 of 6473 relevant lines covered (79.07%)

655130.56 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1946.2 04 May 2019 01:29AM CUT 0
78.94
Travis Job 1946.2
4 1946.4 04 May 2019 01:33AM CUT 0
78.88
Travis Job 1946.4
Source Files on build 1946
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
  • Back to Repo
  • Travis Build #1946
  • d2ebeac2 on github
  • Prev Build on master (#1944)
  • Next Build on master (#1952)
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