temporal
temporal copied to clipboard
Avoid recreating gocql session on transient connection errors
What changed?
Modifies gocql error handling introduced in https://github.com/temporalio/temporal/pull/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 this patch while restarting cassandra nodes.
Potential risks
No
Is hotfix candidate?
No
@gow Added more detail to the PR description 👍