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

thibaultCha / lua-cassandra
88%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 1.0.0
DEFAULT BRANCH: master
Repo Added 29 Jun 2015 04:38PM UTC
Files 3
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

LAST BUILD ON BRANCH hotfix/same-host-clusters
branch: hotfix/same-host-clusters
CHANGE BRANCH
x
Reset
  • hotfix/same-host-clusters
  • 0.1.0
  • 0.2.0
  • 0.3.0
  • 0.3.1
  • 0.3.2
  • 0.3.3
  • 0.3.4
  • 0.3.5
  • 0.3.6
  • 0.4.0
  • 0.4.1
  • 0.4.2
  • 0.5.0
  • 0.5.1
  • 1.0.0
  • chore/ci
  • chore/ci-bump
  • chore/ci-improvements
  • chore/ci-openresty-bump
  • chore/cleanup
  • chore/misc
  • chore/tests
  • chore/travis
  • chore/tweaks
  • chore/utils
  • docs
  • docs/ldoc
  • docs/readme
  • feat/integration-ci
  • feat/resty-integration-ci
  • feat/rewrite
  • feature/auth-provider
  • feature/default-timestamp-v3
  • feature/lua-like
  • feature/luasocket-fallback
  • feature/no-warn-init
  • feature/password-authenticator
  • feature/pwd-auth-tests
  • feature/socket-utilities
  • feature/ssl
  • feature/ssl-tests
  • fix/log
  • fix/luasec-timeout
  • fix/marshallers
  • fix/nil-prepared-query-id
  • fix/read_uuid
  • fix/rewrite-ci
  • fix/trace-test
  • master
  • perf/avoid-loops
  • perf/globals
  • refactor/breakdown
  • refactor/errors
  • release/0.5.0
  • release/0.5.1
  • specs/pagination
  • test/t
  • travis

pending completion
730

push

travis-ci

thibaultCha
fix(cluster) using default_port for peers addresses

Clusters with nodes not running on the default `9042` port couldn't be
properly reached. Thanks @allisthere2love for the investigation.

This issue was never encountered before and my guess is because such
clusters added their contact_points including the port (`x.x.x.x:9043`),
and the driver could connect to it, but not to the other nodes, since it
was trying `9042` on those. So it simply considered the other nodes as
DOWN, and thus still works (if one doesn't check the logs and those lags
are not displaying warnings, it seems like nothing is going wrong).
However @allisthere2love had nodes from another C* cluster listening on
`9042`, leading to inconsistencies and thus, actual errors that allowed
us to track it down.

As per other datastax drivers, all nodes of a cluster must listen on the
same port.

Fix thibaultCha/lua-cassandra#47
See Mashape/kong#1139

1746 of 1982 relevant lines covered (88.09%)

11209.23 hits per line

Relevant lines Covered
Build:
Build:
1982 RELEVANT LINES 1746 COVERED LINES
11209.23 HITS PER LINE
Source Files on hotfix/same-host-clusters
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
730 hotfix/same-host-clusters fix(cluster) using default_port for peers addresses Clusters with nodes not running on the default `9042` port couldn't be properly reached. Thanks @allisthere2love for the investigation. This issue was never encountered before and my guess is b... push 11 Apr 2016 06:35PM UTC thibaultCha travis-ci pending completion  
See All Builds (408)
  • Repo 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