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

lucaong / cubdb / 180
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: writes-since-compaction
DEFAULT BRANCH: master
Ran 29 Jul 2020 12:48PM UTC
Jobs 4
Files 14
Run time 3min
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
180

push

travis-ci

lucaong
Fix race condition during compaction

The compaction process actually happens in two phases: actual
compaction, and catch-up.

The previous implementation was starting the catch-up phase
asynchronously, introducing a race condition: right after actual
compaction completed, and before catch-up started, there was the
possibility to erroneously start another concurrent compaction, because
the check if there is a compaction process already running would return
`false`. This race condition was more likely to occur when running a
compaction uring heavy write load.

This commit removes the race condition.

9 of 9 new or added lines in 1 file covered. (100.0%)

496 of 500 relevant lines covered (99.2%)

57039.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 180.1 (ASSERT_RECEIVE_TIMEOUT=300) 29 Jul 2020 12:48PM UTC 0
99.2
Travis Job 180.1
2 180.2 (ASSERT_RECEIVE_TIMEOUT=300) 29 Jul 2020 12:48PM UTC 0
99.2
Travis Job 180.2
3 180.3 (ASSERT_RECEIVE_TIMEOUT=300) 29 Jul 2020 12:48PM UTC 0
99.2
Travis Job 180.3
4 180.4 (ASSERT_RECEIVE_TIMEOUT=300) 29 Jul 2020 12:48PM UTC 0
99.2
Travis Job 180.4
Source Files on build 180
  • Tree
  • List 14
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #180
  • bce76474 on github
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