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

mp911de / lettuce / 1141 / 2
88%
master: 92%

Build:
Build:
LAST BUILD BRANCH: 5.x
DEFAULT BRANCH: master
Ran 22 Sep 2016 11:11AM UTC
Files 251
Run time 14s
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

22 Sep 2016 10:55AM UTC coverage: 91.38% (+0.04%) from 91.337%
PROFILE=netty-41

push

travis-ci

mp911de
Add support for topology consensus #355

Previously, cluster topology refreshing could get stuck on a node that was previously discovered but got removed from the cluster. This was possible because multiple views were obtained and any arbitrary topology view was chosen.

Lettuce now implements two consensus algorithms: Healthy Majority and Known Majority. Healthy Majority is applied on the very first topology retrieval, Known Majority for all subsequent topology refreshes.

Healthy Majority votes for topology views containing the most nodes with healthy flags (without FAIL/PFAIL/NOADDR flags) to use a most healthy view. Known Majority selects topology views that contain nodes that were previously known. This consensus works for adding and removing nodes one-by-one or even multiple nodes. In case a cluster is split into even partitions the client can still get stuck on either side, but that issue can be solved by disabling dynamic refresh sources and specifying stable cluster seed nodes.

10145 of 11102 relevant lines covered (91.38%)

0.91 hits per line

Source Files on job 1141.2 (PROFILE=netty-41)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1141
  • Travis Job 1141.2
  • 4f677a22 on github
  • Prev Job for PROFILE=netty-41 on 5.x (#1137.2)
  • Next Job for PROFILE=netty-40 on 5.x (#1142.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