kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 43c7e4b6378c0fa8588d9c464df9181dda084b474f483c1e5ede7f83f6d07b22 |
|---|---|
| Author | olim7t <omichallat+github@gmail.com> · 2014-12-21 16:54 +01:00 |
| Committer | olim7t <omichallat+github@gmail.com> · 2014-12-21 16:54 +01:00 |
| Parents | 5ae6590a9129 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java +3 −0
| @@ -109,6 +109,9 @@ | ||
| 109 | 109 | // reconnectInternal only propagate those if we've not decided on the protocol version yet, |
| 110 | 110 | // which should only happen on the initial connection and thus in connect() but never here. |
| 111 | 111 | throw new AssertionError(); |
| 112 | + } catch (Exception e) { | |
| 113 | + logger.error("[Control connection] Unknown error during reconnection, scheduling retry", e); | |
| 114 | + backgroundReconnect(-1); | |
| 112 | 115 | } |
| 113 | 116 | } |
| 114 | 117 |