Skip to content

Increase the retry delay for throttling errors on Azure SQL. - #31612

Merged
AndriySvyryd merged 2 commits into
release/8.0from
Issue27826
Sep 5, 2023
Merged

AndriySvyryd merged 2 commits into
release/8.0from
Issue27826

Conversation

@AndriySvyryd

Copy link
Copy Markdown
Member

Detect Azure SQL based on connection string.
Detect more transient errors.

Fixes #27826

@AndriySvyryd
AndriySvyryd requested a review from a team September 2, 2023 01:46
Detect Azure SQL server based on connection string.
Detect more transient errors.

Fixes #27826
@AndriySvyryd
AndriySvyryd merged commit f290667 into release/8.0 Sep 5, 2023
@AndriySvyryd
AndriySvyryd deleted the Issue27826 branch September 5, 2023 18:10
@Saibamen

Saibamen commented Sep 6, 2023

Copy link
Copy Markdown

Will be merged into 7.0?

@AndriySvyryd

Copy link
Copy Markdown
Member Author

Will be merged into 7.0?

We don't have plans to do so. But you can copy the new logic and register this implementation:
optionsBuilder.UseSqlServer(connectionString, b => b.ExecutionStrategy(d => new Ef8SqlServerRetryingExecutionStrategy(d));

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

Successfully merging this pull request may close these issues.

Delay first retry in Transient Error Handling with Azure SQL

3 participants