boulder
boulder copied to clipboard
sa: implement retry of certain operations that we know are safe to retry
For instance, SELECT and BEGIN TRANSACTION are generally safe in our codebase to automatically retry.
We sometimes get errors from the database driver level that the driver does not know it is safe to retry, because a connection was broken after request bytes were sent. However, we can know they're safe and retry them.