max-melentyev commented on issue #1869:
URL: 
https://github.com/apache/cassandra-gocql-driver/issues/1869#issuecomment-3672373139

   Hey, speculative retries are different from pagination attempts. Every 
pagination attempt may or may not have its own speculative retries. And 
speculative retry can happen to the query that returns only one row. Basically, 
gocql 
[sends](https://github.com/apache/cassandra-gocql-driver/blob/0089073b21049a32fa380f4b626752378896de86/query_executor.go#L158)
 duplicate queries if the original one takes longer than a configured timeout. 
[Here](https://github.com/apache/cassandra-gocql-driver/issues/1869#issuecomment-2784293597)
 I visualized why current observed latencies are incorrect.
   
   The total latency for all fetched pages would probably also be useful, 
however it will also include the time used to process pages in go between 
sending requests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to