Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more error codes to the transient list #6665

Closed
AndriySvyryd opened this issue Oct 3, 2016 · 0 comments
Closed

Add more error codes to the transient list #6665

AndriySvyryd opened this issue Oct 3, 2016 · 0 comments
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@AndriySvyryd AndriySvyryd self-assigned this Oct 3, 2016
AndriySvyryd referenced this issue Oct 3, 2016
All high-level API that need database connection will use the configured execution strategy except migrations.
Handle external connection state changes in RelationalConnection

Add to .Core:
  IExecutionStrategy
  ExecutionStrategy
  IExecutionStrategyFactory
  IDatabaseProviderServices
    IExecutionStrategyFactory ExecutionStrategyFactory
  DatabaseFacade
    IExecutionStrategy CreateExecutionStrategy()
    TResult ExecuteWithStrategyInTransaction<TResult>(Func<DbContext, TResult> operation)
    Task<TResult> ExecuteWithStrategyInTransactionAsync<TResult>(Func<DbContext, CancellationToken, Task<TResult>> operation, CancellationToken cancellationToken)

Add to .Relational:
  RelationalDbContextOptionsBuilder
    ExecutionStrategy(Func<ExecutionStrategyContext, IExecutionStrategy> getExecutionStrategy)

Add to .SqlServer:
  SqlAzureExecutionStrategy
  SqlServerDbContextOptionsBuilder
    EnableRetryOnFailure()
    EnableRetryOnFailure(int maxRetryCount)
@rowanmiller rowanmiller added this to the 1.1.0-preview1 milestone Oct 6, 2016
AndriySvyryd added a commit that referenced this issue Oct 7, 2016
…at don't indicate a failure

Add more transient error numbers and remove one that is not transient
Rename SqlAzureExecutionStrategy to SqlServerTransientExecutionStrategy

Fixes #6680
Fixes #6665
AndriySvyryd added a commit that referenced this issue Oct 15, 2016
…that don't indicate a failure

Add more transient error numbers and remove one that is not transient
Rename SqlAzureExecutionStrategy to SqlServerRetryingExecutionStrategy

Fixes #6680
Fixes #6665
AndriySvyryd added a commit that referenced this issue Oct 17, 2016
…that don't indicate a failure

Add more transient error numbers and remove one that is not transient
Rename SqlAzureExecutionStrategy to SqlServerRetryingExecutionStrategy

Fixes #6680
Fixes #6665
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Oct 17, 2016
@AndriySvyryd AndriySvyryd removed their assignment Oct 17, 2016
@ajcvickers ajcvickers modified the milestones: 1.1.0-preview1, 1.1.0 Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

No branches or pull requests

3 participants