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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to