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

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

Build:
DEFAULT BRANCH: master
Ran 21 Mar 2018 02:58PM UTC
Files 396
Run time 15s
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

21 Mar 2018 02:58PM UTC coverage: 72.572% (+0.2%) from 72.416%
28.1

push

jenkins

Matteo Merli
Fixed DbStorage write cache segment index computation

When the write cache was merged from `yahoo-4.3` branch into master, an improvement went in around computing the the write cache segment index (doing shift instead of division) and that introduced a problem.

The write cache is broken into multiple segments (since buffers in JVM can only be at most 2GB). By default we use 1GB segments (or smaller if the write cache is overall smaller).

Because the shift count was wrong, the entries in the first segment were being ovrridden by entries in the 2nd segment (entries in the other segments were all fine).

That would lead to write some garbage in the entry log and subsequent read failures.

Author: Matteo Merli <mmerli@apache.org>

Reviewers: Sijie Guo <sijie@apache.org>

This closes #1279 from merlimat/fix-write-cache-segment-index

23012 of 31709 relevant lines covered (72.57%)

0.73 hits per line

Source Files on job 28.1
  • Tree
  • List 0
  • Changed 25
  • Source Changed 4
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28
  • 6edbdd90 on github
  • Prev Job for on master (#27.1)
  • Next Job for on master (#29.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