[
https://issues.apache.org/jira/browse/CASSGO-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
João Reis updated CASSGO-50:
----------------------------
Bug Category: Parent values: Availability(12983)Level 1 values:
Unavailable(12994)
Complexity: Normal
Component/s: Core
Discovered By: Code Inspection
Severity: Normal
Status: Open (was: Triage Needed)
> 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
> Components: Core
> Reporter: Bohdan Siryk
> Priority: Normal
> Fix For: 2.0.0
>
>
> 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]