Update SQL transient error numbers to include 10936 #20923
Labels
customer-reported
good first issue
This issue should be relatively straightforward to fix.
type-enhancement
Milestone
Recently we've received these transient errors from our Azure SQL Server.
Error 10936 isn't included in https://github.com/dotnet/efcore/blob/bde2b140d6f4cf94d6d1285d402941e20193ec60/src/EFCore.SqlServer/Storage/Internal/SqlServerTransientExceptionDetector.cs so the default SQL retry strategy isn't retrying.
I can't find much information about it but it's very similar to error
10928 - Resource ID: %d. The %s limit for the database is %d and has been reached.
I would guess it just needs to be added to the list of transient errors.As a workaround we've added it manually via the
errorNumbersToAdd
parameter in the constructor ofSqlServerRetryingExecutionStrategy
.The text was updated successfully, but these errors were encountered: