kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 32fe6b31edc54c4b14025aab92da6a48e5d0d38d2abe9abfa9949f0d7ec8a1af |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2015-02-06 23:26 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2015-02-11 12:46 +01:00 |
| Parents | 99eff8eb2fee |
2 files changed
modified driver-core/CHANGELOG.rst +1 −0
| @@ -4,6 +4,7 @@ | ||
| 4 | 4 | 2.0.9.2: |
| 5 | 5 | -------- |
| 6 | 6 | |
| 7 | +- [bug] Fix edge cases where a connection was released twice (JAVA-651). | |
| 7 | 8 | |
| 8 | 9 | 2.0.9.1: |
| 9 | 10 | -------- |
modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +1 −2
| @@ -841,8 +841,7 @@ | ||
| 841 | 841 | public boolean onTimeout(Connection connection, long latency, int retryCount) { |
| 842 | 842 | assert connection != null; // We always timeout on a specific connection, so this shouldn't be null |
| 843 | 843 | this.address = connection.address; |
| 844 | - super.setException(new OperationTimedOutException(connection.address)); | |
| 845 | - return true; | |
| 844 | + return super.setException(new OperationTimedOutException(connection.address)); | |
| 846 | 845 | } |
| 847 | 846 | |
| 848 | 847 | public InetSocketAddress getAddress() { |