Skip to content

Add a link to code to find current set of transient errors  #3921

Open
@MNF

Description

@MNF

It will be good to document which errors the default strategy consider as transient.
In particular, I expected that Timeouts will be retried.
It is a reasonable expectation, e.g. In https://docs.microsoft.com/en-us/azure/azure-sql/database/troubleshoot-common-connectivity-issues?view=azuresql has
public bool IsTransient(Exception ex) //entLib 2013
if (ex is TimeoutException) { return true;

However it wasn’t correct - see dotnet/efcore#27826.
Having explicit reference to list of transient errors will avoid the confusion.

The reference to transient errors list will be good also in https://docs.microsoft.com/en-au/ef/core/miscellaneous/connection-resiliency


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions