You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Oleksandr Luzhniy (Jira)" <ji...@apache.org> on 2025/02/27 14:52:00 UTC

[jira] [Created] (CASSGO-61) Connection timeout does not overrided with query context timeout

Oleksandr Luzhniy created CASSGO-61:
---------------------------------------

             Summary: Connection timeout does not overrided with query context timeout
                 Key: CASSGO-61
                 URL: https://issues.apache.org/jira/browse/CASSGO-61
             Project: Apache Cassandra Go driver
          Issue Type: Bug
            Reporter: Oleksandr Luzhniy


{{exec()}} method for connection  considers both ({{{}Conn{}}} and {{{}ctx{}}}) timeouts.
And handles the first one that expires ([here|https://github.com/apache/cassandra-gocql-driver/blob/trunk/conn.go#L1150]). That affects query custom timeout, you can set it to less than Connection timeout and that will work, but if it's bigger than {{connection}} timeout - it won't be taken into account. That is half of the functional.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org