Elffuss BraidHub

kikocis/java-driver public

JAVA-854: avoid early return in Cluster.init when a node doesn't support the protocol version.
Changesetead55a108ed199fdbba91229be96057df7d92b0bf5f6decea5682987bc34f1a2
AuthorStefan Podkowinski <stefan.podkowinski@1und1.de> · 2015-08-03 14:01 +02:00
Committerolim7t <omichallat+github@gmail.com> · 2015-11-06 19:04 +01:00
Parentsd615cb082709

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -3,6 +3,7 @@
33 ### 2.1.9 (in progress)
44
55 - [bug] Fix implementation of UserType.hashCode() (JAVA-942)
6+- [bug] JAVA-854: avoid early return in Cluster.init when a node doesn't support the protocol version.
67
78 Merged from 2.0 branch:
89
modified driver-core/src/main/java/com/datastax/driver/core/Cluster.java +1 −1
@@ -1482,7 +1482,7 @@
14821482
14831483 if (!connectionFactory.protocolVersion.isSupportedBy(host)) {
14841484 logUnsupportedVersionProtocol(host, connectionFactory.protocolVersion);
1485- return;
1485+ continue;
14861486 }
14871487
14881488 if (!contactPointHosts.contains(host))