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

ligato / cn-infra / 1232
50%
master: 53%

Build:
Build:
LAST BUILD BRANCH: ondrej-fabry-patch-1
DEFAULT BRANCH: master
Ran 11 May 2018 10:35AM UTC
Jobs 1
Files 52
Run time 4s
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
1232

Pull #266

travis-ci

web-flow
Watchers may get closed after server restart if db was compacted

Every watcher internally remembers the revision of the last
notification it has received for the watched prefix.
The revision currently in use by the server may be higher
if keys outside of the watched scope were edited since then.
When etcd server restarts, watcher will ask for all changes since
the last revision it has seen. This is not a problem even if the
revision is older than the (restored) current one, provided that
the server has kept the history of changes in-between. However,
this is not the case if etcd was compacted between the the last
notification delivered to the watcher and the server restart.
In such case, the server refuses the watcher to reconnect after
the restart, with a reason that it can only deliver notifications
since the last compaction.
This is not a fatal case, however, since changes between the last
delivered notification and the compaction were not related to the
watched prefix. Watcher just needs to re-create subscription,
starting with the revision of the compaction.

Signed-off-by: Milan Lenco <milan.lenco@pantheon.tech>
Pull Request #266: [contiv] Watchers may get closed after server restart if db was compacted

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

2595 of 5168 relevant lines covered (50.21%)

7.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1232.1 11 May 2018 10:35AM UTC 0
50.21
Travis Job 1232.1
Source Files on build 1232
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1232
  • Pull Request #266
  • PR Base - contiv (#1229)
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