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
The reconnect method must be given a value of false. If a value of true is used a query is attempted that will fail because it has no active connection.
Describe the bug
As of version 2.4.1 (and up to 2.4.4 of time of writing) the
Connection.reconnect()
method no longer works.To Reproduce
Simplified version of our code:
Expected behavior
There are 2 bugs in the code:
the connect method fails because the
socket
field is never set to null so theconnectAsync
call will always fail.rethinkdb-java/src/main/java/com/rethinkdb/net/Connection.java
Lines 125 to 128 in efd7c0a
The
reconnect
method must be given a value offalse
. If a value oftrue
is used a query is attempted that will fail because it has no active connection.rethinkdb-java/src/main/java/com/rethinkdb/net/Connection.java
Lines 447 to 450 in efd7c0a
The text was updated successfully, but these errors were encountered: