File tree Expand file tree Collapse file tree
driver-core/src/main/java/com/datastax/driver/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33### 2.0.13 (in progress)
44
55- [ bug] JAVA-994: Don't call on(Up|Down|Add|Remove) methods if Cluster is closed/closing.
6+ - [ bug] JAVA-995: Defunct connection even if initializing.
7+
68
79### 2.0.12
810
Original file line number Diff line number Diff line change @@ -1049,7 +1049,7 @@ private class ChannelCloseListener implements ChannelFutureListener {
10491049 public void operationComplete (ChannelFuture future ) throws Exception {
10501050 // If we've closed the channel client side then we don't really want to defunct the connection, but
10511051 // if there is remaining thread waiting on us, we still want to wake them up
1052- if (! isInitialized || isClosed ()) {
1052+ if (isClosed ()) {
10531053 dispatcher .errorOutAllHandler (new TransportException (address , "Channel has been closed" ));
10541054 // we still want to force so that the future completes
10551055 Connection .this .closeAsync ().force ();
You can’t perform that action at this time.
0 commit comments