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

linkedin / Burrow / 73
74%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2018 12:07AM UTC
Jobs 3
Files 26
Run time 1min
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
73

push

travis-ci

web-flow
Store broker offset history (#338)

* Add a ring of broker offsets for each partition to keep a short history of partition LEO

* Clean up repetitive casting in tests

* Add asserts to check for broker offset history

* Delay alerting for stopped partition

In order to account for the race condition described in #303 (second part), we need to delay alerting for a stopped partition for a short period of time. We do that by only marking the partition stopped if the timestamps show it is stopped AND if the partition did not have zero lag against any recent broker LEO. In the case where the intervals config for storage is 10 and the cluster offset-refresh is 30 seconds, this would give the consumer 5 minutes to consume from a slow partition and commit an offset before it gets marked as stopped.

* Update current tests for the evaluator to handle the new recent lag check

* Reformat test objects so they're readable

* Add a test to cover a slow data partition as described in #303

* gofmt fixes

37 of 37 new or added lines in 2 files covered. (100.0%)

2998 of 4061 relevant lines covered (73.82%)

68.29 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
core/internal/storage/inmemory.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
core/internal/storage/inmemory.go
17
100.0
core/internal/notifier/coordinator.go
Jobs
ID Job ID Ran Files Coverage
1 73.1 (DEP_VERSION="0.3.2") 30 Jan 2018 12:07AM UTC 0
73.82
Travis Job 73.1
2 73.2 (DEP_VERSION="0.3.2") 30 Jan 2018 12:07AM UTC 0
73.82
Travis Job 73.2
3 73.3 (DEP_VERSION="0.3.2") 30 Jan 2018 12:08AM UTC 0
73.82
Travis Job 73.3
Source Files on build 73
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #73
  • 389ef47a on github
  • Prev Build on master (#66)
  • Next Build on master (#75)
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