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

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

Build:
DEFAULT BRANCH: master
Ran 14 Jul 2019 03:22PM UTC
Files 538
Run time 22s
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

14 Jul 2019 03:22PM UTC coverage: 71.619% (-0.02%) from 71.643%
510.1

push

jenkins

Enrico Olivelli
<a href="https://github.com/apache/bookkeeper/commit/<a class=hub.com/apache/bookkeeper/commit/<a class="double-link" href="https://git"><a class=hub.com/apache/bookkeeper/commit/<a class="double-link" href="https://git"><a class=hub.com/apache/bookkeeper/commit/<a class="double-link" href="https://git"><a class=hub.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a">1adc93f05<a href="https://github.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a">&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/apache/bookkeeper/commit/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/apache/bookkeeper/commit/&amp;lt;a class=&amp;quot;double-link&amp;quot; href=&amp;quot;https://git&quot;&gt;&amp;lt;a class=&lt;/a&gt;hub.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a&quot;&gt;1adc93f05&lt;/a&gt;&lt;a href=&quot;https://github.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a&quot;&gt;&amp;lt;a href=&amp;quot;https://github.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a&amp;quot;&amp;gt;&amp;amp;quot;&amp;amp;gt;Issue #2103: Avoid stop of entry log compaction

### Motivation

As mentioned in #2103, if an exception occurs during compaction of a specific entry log, `GarbageCollectorThread` does not perform compaction of other entry logs until the bookie server is restarted. As a result, the number of entry logs continues to increase and eventually it will run out of disk space.

### Changes

The cause of the compaction stop is that the `compacting` flag remains true if `compactor.compact(entryLogMeta)` throws some exception.
https://github.c</a>om/apache/bookkeeper/blob/&lt;/a&gt;&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/apache/bookkeeper/commit/&lt;a class=&quot;double-link&quot; href=&quot;https://github.com/apache/bookkeeper/commit/<a class="double-link" href="https://github.com/apache/bookkeeper/commit/b2e099bbc7b13f13825fe78ab009ca132cb3a9ba">b2e099bbc</a>&quot;&gt;b2e099bbc&lt;/a&gt;&quot;&gt;b2e099bbc&lt;/a&gt;&lt;a href=&quot;https://github.com/apache/bookkeeper/commit/1adc93f05954fdb06d7e8b548d606e281831924a&quot;&gt;/bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/GarbageCollectorThread.java#L504-L519

Therefore, fixed `GarbageCollectorThread` so that it set the compaction flag to false even if compaction of a specific entry log fails.

Master Issue: #2103

Reviewers: Enrico Olivelli &amp;lt;eolivelli@gmail.com&gt;, Sijie Guo &lt;sijie@apache.org>

This closes #2121 ... (continued)

27736 of 38727 relevant lines covered (71.62%)

0.72 hits per line

Source Files on job 510.1
  • Tree
  • List 0
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 510
  • 1adc93f0 on github
  • Prev Job for on master (#509.1)
  • Next Job for on master (#511.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