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

apache / bookkeeper / 45 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2018 02:42PM UTC
Files 402
Run time 12s
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

07 Apr 2018 02:42PM UTC coverage: 72.311% (-0.07%) from 72.382%
45.1

push

jenkins

Sijie Guo
ISSUE #1316: A bookie with non-writable dirs should be able to start in readonly mode

Descriptions of the changes in this PR:

*Problem*

Bookie failed to start when it doesn't have non-writable dirs. Issue is reported at #1316

*Solution*

- Introduce a setting `minUsageSizeForEntryLogCreation` to allow creating entry logs even when there is no writable dirs. This setting is replacing `getIsForceGCAllowWhenNoSpace` for creating new log, since entry log files are created not only for gc/compaction. It can also happen on startup and also journal replays.

- Defer creating entry log files until first write happens, when there is no writable ledger dirs.

- add bunch of tests for EntryLog and Bookie initialization.

Master Issue: #1316
Related Issue: #190

Author: Sijie Guo <sijie@apache.org>

Reviewers: Charan Reddy Guttapalem <reddycharan18@gmail.com>

This closes #1319 from sijie/allow_bookie_to_start_with_no_writable_bookies, closes #1316

23104 of 31951 relevant lines covered (72.31%)

0.72 hits per line

Source Files on job 45.1
  • Tree
  • List 0
  • Changed 32
  • Source Changed 4
  • Coverage Changed 32
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 45
  • ea1a75c0 on github
  • Prev Job for on master (#44.1)
  • Next Job for on master (#46.1)
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