Azure / elastic-db-tools

Elastic database tools client library allows ADO.NET developers to create applications that implement and use the pattern known as database sharding in Azure SQL Database.
MIT License
145 stars 100 forks source link

No way to skip TFH mechanism in ShardMapManager #138

Open apurvans opened 8 years ago

apurvans commented 8 years ago

If customer already has a Transient Fault Handling (TFH) mechanism in the application then there should be a way to avoid adding another TFH mechanism inside the SMM APIs of the Elastic Scale library.

With current implementation, even if the user does not add a Retry Behaviour as a parameter to API call, the Elastic Scale library adds a default TFH anyways.

Workaround right now is to remove TFH from the application as there is no way to skip if from elastic scale library.

stuartpa commented 11 months ago

I'm migrating the library to the native SqlClient retry support:

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