Skip to content
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

Provide an ability to configure a retry policy #218

Open
Unnamed1984 opened this issue Jul 16, 2021 · 2 comments
Open

Provide an ability to configure a retry policy #218

Unnamed1984 opened this issue Jul 16, 2021 · 2 comments
Assignees

Comments

@Unnamed1984
Copy link

Currently the RetryPolicy class is internal, ShardMapManagerFactory.GetSqlShardMapManager accepts RetryBehavior which doesn't allow to change RetryPolicy anyhow.

@Unnamed1984
Copy link
Author

Unnamed1984 commented Jul 16, 2021

Also you say that it has a built in list of transient errors to handle:
image
But it doesn't, the predicate always returns false:
image

@stuartpa stuartpa self-assigned this Oct 12, 2023
@stuartpa
Copy link
Contributor

I'm moving the library to the now native to SqlClient retry logic:

https://learn.microsoft.com/en-us/sql/connect/ado-net/configurable-retry-logic?view=sql-server-ver16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants