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

apache / bookkeeper / 45
72%

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

pending completion
45

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

Jobs
ID Job ID Ran Files Coverage
1 45.1 07 Apr 2018 02:42PM UTC 0
72.31
Source Files on build 45
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #45
  • ea1a75c0 on github
  • Prev Build on master (#44)
  • Next Build on master (#46)
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