-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support automatic deadlock retry #47
Comments
Retrying deadlocks can be done with the same |
Reducing the scope of this issue to retrying deadlocks. |
A
RetryDbConnector
could retry operations on transient and/or deadlock exceptions.This would work well with
ExecuteTransaction
(#46) but not withBeginTransaction
etc. ShouldRetryDbConnector.BeginTransaction
throw?The settings should integrate well with
Polly
, ideally without taking a dependency on it.Expose a
Retry(Async)
method that allows the caller to create their own retry units?We would probably need protected overrides on
DbConnector
to which command operations would delegate so that we can retry queries.The text was updated successfully, but these errors were encountered: