Bohdan Siryk created CASSGO-50:
----------------------------------
Summary: Potentially endless query execution when
HostSelectionPolicy returns the same downed host
Key: CASSGO-50
URL: https://issues.apache.org/jira/browse/CASSGO-50
Project: Apache Cassandra Go driver
Issue Type: Bug
Reporter: Bohdan Siryk
If HostSelectionPolicy continuously returns the same host that is downed it
will lead to an endless query execution. It happens
[here|https://github.com/apache/cassandra-gocql-driver/blob/9d6c255a97b75842925e52921120918aeb3f646f/query_executor.go#L158]
when `hostIter` returns host is downed or nil which causes skipping of loop
iteration.
Potentially it may cause a goroutine stuck even if the context provided to the
query is canceled.
Raised
[here|https://github.com/apache/cassandra-gocql-driver/pull/1793#discussion_r1935766004]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]