-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cancelled token does not prevent execution of ExecuteDeleteAsync(token) #31448
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
community-contribution
customer-reported
Servicing-approved
type-bug
Milestone
Comments
dsgordeev
added a commit
to dsgordeev/efcore
that referenced
this issue
Aug 12, 2023
- Affects ExecuteDeleteAsync(token) - Affects ExecuteUpdateAsync(token) Fixes [dotnet#31448](dotnet#31448)
A proposed solution is to pass token taken from relational query context to call of IExecutionStrategy.ExecuteAsync(...) |
dsgordeev
changed the title
Cancelled token does not prevent execution of ExecuteDeleteAsync(token)
[BUG-FIX] Cancelled token does not prevent execution of ExecuteDeleteAsync(token)
Sep 1, 2023
dsgordeev
changed the title
[BUG-FIX] Cancelled token does not prevent execution of ExecuteDeleteAsync(token)
Cancelled token does not prevent execution of ExecuteDeleteAsync(token)
Sep 6, 2023
ajcvickers
pushed a commit
that referenced
this issue
Sep 25, 2023
ajcvickers
added
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
and removed
consider-for-current-release
labels
Sep 25, 2023
Clearing milestone to discuss patching 8.0 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
roji
pushed a commit
to roji/efcore
that referenced
this issue
Nov 17, 2023
…otnet#31449) Fixes dotnet#31448 (cherry picked from commit d2f824a)
roji
pushed a commit
to roji/efcore
that referenced
this issue
Nov 17, 2023
…otnet#31449) Fixes dotnet#31448 (cherry picked from commit d2f824a)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-query
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
community-contribution
customer-reported
Servicing-approved
type-bug
Steps to reproduce
Following csproj and source code can be used to reproduce the issue.
ExecuteDeleteAsync send DELETE request to database even if cancellation already is requested by token.
Include provider and version information
EF Core version: 7.0.10
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 7.0
Operating system: Win10
IDE: Visual Studio 2022 17.7
The text was updated successfully, but these errors were encountered: