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

Mashape / kong
59%
master: 57%

Build:
Build:
LAST BUILD BRANCH: plugin/hiren
DEFAULT BRANCH: master
Repo Added 27 Feb 2015 01:43AM UTC
Files 23
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/0.8/cassandra-default-port
branch: hotfix/0.8/cassandra-default-port
CHANGE BRANCH
x
Reset
  • hotfix/0.8/cassandra-default-port
  • 0.6.0
  • 0.6.0rc2
  • 0.6.0rc3
  • 0.7.0
  • 0.7.0rc1
  • 0.7.0rc2
  • 0.8.0
  • 0.8.0rc1
  • 0.8.0rc2
  • 0.8.1
  • 0.8.2
  • 0.8.3
  • bugfix/colon_content
  • bugfix/duplicate-proto-headers
  • bugfix/failed_error_parsing
  • bugfix/ignore_body
  • bugfix/insert_405_handlers
  • bugfix/response-transformer-hang
  • bugfix/versions
  • changelog/0.7.0
  • chore/bump-lua-uuid
  • chore/bump-openresty
  • chore/check-working-dir
  • chore/ci
  • chore/ci-openresty-bump
  • chore/ci-openssl-fix
  • chore/ci-repeat
  • chore/circle
  • chore/openresty-latest-compat
  • chore/parallel-ci
  • chore/serf
  • chore/serf-packet-size
  • chore/testing-api
  • chore/travis
  • chore/use-ngx-ssl
  • chore/user
  • chore/version-bump
  • config-patch
  • doc/cluster
  • docs/changelog
  • docs/changes
  • docs/ci-badge
  • docs/readme
  • docs/sort-readme-tools
  • docs/upgrade-05
  • docs/upgrade-guide
  • drop-deprecations
  • enhance/datadog
  • enhancement/datadog
  • feat/galileo/alf-1.1.0
  • feat/invalidations
  • feat/json-request-transformer
  • feat/postgres-database
  • feature/cassandra-consistency
  • feature/datadog-resp-size
  • feature/oauth2tokens-api
  • feature/postgres
  • feature/runscope
  • feature/timers
  • fix/acl
  • fix/acl-hooks
  • fix/allow-encoded-requestpath
  • fix/api-filtering
  • fix/api-validation
  • fix/cli-prepare
  • fix/cli-test
  • fix/cluster-find
  • fix/cors
  • fix/daemon
  • fix/dao-full-update
  • fix/empty-param
  • fix/file-log
  • fix/hostname
  • fix/incomplete-patch
  • fix/ip-restriction
  • fix/iprestriction-invalidation
  • fix/json-error-responses
  • fix/loggly
  • fix/make-dev
  • fix/nodes
  • fix/oauth2
  • fix/oauth2-exptime
  • fix/oauth2-multipart
  • fix/oauth2-multipart-requests
  • fix/oauth2-redirect-uri
  • fix/plugins-load
  • fix/plugins-loader
  • fix/prepared-migrations
  • fix/preserve-host
  • fix/put
  • fix/put-checks
  • fix/request-host-validation
  • fix/response-rate-limiting
  • fix/reverting-postgres-autodb
  • fix/root-request-path
  • fix/runscope-rockspec
  • fix/serf-error
  • fix/serf-log
  • fix/serf-node-name
  • fix/test
  • fix/transformer
  • fix/transformer-migration
  • fix/ttl
  • fix/update
  • hotfix/cass-config-property
  • hotfix/cassandra-auth
  • hotfix/cassandra-ssl-ca
  • hotfix/db-ssl
  • hotfix/galileo
  • hotfix/jwt-default-alg
  • hotfix/lint
  • hotfix/plugins-httplog
  • hotfix/plugins-route
  • hotfix/postgres-array
  • hotfix/print
  • hotfix/runscope
  • hotfix/serf-log
  • issue-template
  • master
  • next
  • plugin/hiren
  • plugin/ldap
  • plugin/statsd
  • plugins/acl-group
  • plugins/bot-detection
  • plugins/ldap
  • plugins/pushpin
  • plugins/ratelimiting-async
  • plugins/ratelimiting-continueonerror
  • plugins/statsd
  • pull-request-1112
  • refactor/globals
  • refactor/hhtp-log
  • refactor/integrate-access
  • refactor/nuke-constants
  • refactor/plugin_iterator
  • refactor/string_handling
  • release/0.6.0
  • release/0.7.0
  • release/0.8.0
  • release/0.8.1
  • release/0.8.2
  • release/0.8.3
  • remove-detabases_available
  • sinzone-patch-1
  • test/cluster
  • test/uri-too-long
  • updated-readme-for-0.7

pending completion
3235

push

travis-ci

thibaultCha
fix(cassandra) add a 'port' option for clusters

Clusters with nodes not running on the default `9042` port couldn't be
properly reached by Kong. This bumps the driver (including the fix), and
adds a `port` options to the configuration. 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 Mashape/kong#1139
See thibaultCha/lua-cassandra#47

1545 of 2606 relevant lines covered (59.29%)

27.12 hits per line

Relevant lines Covered
Build:
Build:
2606 RELEVANT LINES 1545 COVERED LINES
27.12 HITS PER LINE
Source Files on hotfix/0.8/cassandra-default-port
  • Tree
  • 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
3235 hotfix/0.8/cassandra-default-port fix(cassandra) add a 'port' option for clusters Clusters with nodes not running on the default `9042` port couldn't be properly reached by Kong. This bumps the driver (including the fix), and adds a `port` options to the configuration. Thanks @al... push 11 Apr 2016 07:21PM UTC thibaultCha travis-ci pending completion  
3234 hotfix/0.8/cassandra-default-port fix(cassandra) add a 'port' option for clusters Clusters with nodes not running on the default `9042` port couldn't be properly reached by Kong. This bumps the driver (including the fix), and adds a `port` options to the configuration. Thanks @al... push 11 Apr 2016 07:19PM UTC thibaultCha travis-ci pending completion  
See All Builds (1568)
  • 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