max-melentyev opened a new issue, #1869:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1869

   Hi,
   
   Current implementation of query observer observes only [individual 
attempts](https://github.com/apache/cassandra-gocql-driver/blob/trunk/query_executor.go#L61)
 and does not provide final latency values considering retries and speculative 
retries. For example:
   - if query has 1st attempt for 10ms, then regular retry, and another attempt 
for 20ms, then both attempts are reported separately, and total 30ms latency 
isn't be reported;
   - if query has 1st attempt for 150ms, and another speculative attempt for 
10ms that kicked after 10ms, then 150ms and 10ms attempts are both reported, 
while non of them represent real 20ms latency.
   
   Is this an expected behaviour and applications are expected to observe real 
latency?


-- 
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