Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid recreating gocql session on transient connection errors (#6207)
## What changed? Modifies gocql error handling introduced in #4132 to avoid recreating the gocql session on transient connection errors. ## Why? Recreating the session adds latency and isn't necessary when connections are closed or reset. ## How did you test it? Ran a prod-like workload and periodically restarted cassandra nodes. With the patch applied, we observed a reduction in p50 and p99 latency across persistence operations. ## Potential risks No ## Is hotfix candidate? No
- Loading branch information