dotnet / dotnet/efcore

Consider handling DNS errors as transient

Open
#34,950 0 comments 0 reactions 0 assignees View on GitHub
area-execution-strategies customer-reported
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

We've gotten a [report](https://github.com/npgsql/efcore.pg/issues/3248) that in certain environments, a DNS error can be transient, and therefore needing a retry (although in most normal situation it isn't). We still need to understand this better and see whether other people run into issues around this (and on which databases).

In the meantime, it should be trivial for users to extend the provider's execution strategy (e.g. NpgsqlRetryingExecutionStrategy) to make it treat DNS exceptions as transient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.