kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 50f551d5ba37707a60457544e989eb2016e4e7bac5c623d9064d462a0120cb7f |
|---|---|
| Author | Sylvain Lebresne <sylvain@datastax.com> · 2014-08-05 09:00 +02:00 |
| Committer | Sylvain Lebresne <sylvain@datastax.com> · 2014-08-05 09:00 +02:00 |
| Parents | b2250d69c45c |
2 files changed
modified driver-core/CHANGELOG.rst +6 −0
| @@ -1,6 +1,12 @@ | ||
| 1 | 1 | CHANGELOG |
| 2 | 2 | ========= |
| 3 | 3 | |
| 4 | +2.0.5: | |
| 5 | +------ | |
| 6 | + | |
| 7 | +- [bug] Release connections on ResultSetFuture#cancel (JAVA-407) | |
| 8 | + | |
| 9 | + | |
| 4 | 10 | 2.0.4: |
| 5 | 11 | ------ |
| 6 | 12 |
modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +2 −0
| @@ -754,6 +754,8 @@ | ||
| 754 | 754 | // were, a new request could reuse that ID but get the answer to the request we just gave up on instead |
| 755 | 755 | // of its own answer, and we would have no way to detect that. |
| 756 | 756 | connection.dispatcher.removeHandler(streamId, false); |
| 757 | + if (connection instanceof PooledConnection) | |
| 758 | + ((PooledConnection)connection).release(); | |
| 757 | 759 | } |
| 758 | 760 | |
| 759 | 761 | private TimerTask onTimeoutTask() { |