You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HostConnectionPool pendingBorrows can be nil at closing (#465)
SessionManager.replacePool adds pool to the pools map and only afterwards calls initAsync.
For short period of time pool stays in `SessionManager.pools`
uninitialized.
If you close session in that exact time `HostConnectionPool.closeAsync`
is going to endup in panic, because `pendingBorrows` is null :
```
java.lang.NullPointerException: null
at com.datastax.driver.core.HostConnectionPool.closeAsync(HostConnectionPool.java:978)
```
0 commit comments