coxley commented on PR #1943:
URL:
https://github.com/apache/cassandra-gocql-driver/pull/1943#issuecomment-4451595050
@abenn135 Thank you! :)
```go
// The index of the speculative execution attempt this attempt is associated
// with, starting with index 1. -1 indicates this is the "main" execution.
SpeculativeExecutionCount int
```
Forgive me if this is me not following well, but what does "index" mean in
this case? For example:
- First attempt failed and `RetryPolicy` said to re-attempt
- Second attempt taking longer than
`(gocql.SpeculativeExecutionPolicy).Delay()`
- Assume `gocql.SpeculativeExecutionPolicy).Attempts()` returns 2
- Third attempt is a hedge and is taking longer than the delay
- Fourth attempt is a hedge
What does `gocql.QueryAttempt.SpeculativeExecutionCount` look like at each
stage?
--
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]