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 HostFilter is not being used for the Control Connection (aka
the controlConn). This can be problematic, especially if the host
is being filtered due to it being in a bad state, as it can hold up
the creation of the Control Connection (and therefore the Session
itself) for quite some time.
What did you expect to see?
Hosts filtered by a HostFilter are not eligible to be used in the
Control Connection.
What version of Cassandra are you using?
Reproducible on 3.x & 4.x
What version of Gocql are you using?
v1.6.0
What version of Go are you using?
1.20
What did you do?
The
HostFilter
is not being used for the Control Connection (akathe
controlConn
). This can be problematic, especially if the hostis being filtered due to it being in a bad state, as it can hold up
the creation of the Control Connection (and therefore the Session
itself) for quite some time.
What did you expect to see?
Hosts filtered by a
HostFilter
are not eligible to be used in theControl Connection.
What did you see instead?
The opposite.
Note: This also fixes an issue if
disableControlConn=true
and/orDisableInitialHostLookup=true
, where the Ring is updated with the host, prior to filtering:https://github.com/gocql/gocql/blob/db6d5564dd6843cc08cc1d6c3642612adf94c618/session.go#L265-L268
The text was updated successfully, but these errors were encountered: