Skip to content

Fix race condition regarding Task cancellation #1797

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

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

groue
Copy link
Owner

@groue groue commented Jul 23, 2025

This PR fixes a race condition introduced in v7.6.0 that could cancel a database access when an unrelated task is cancelled.

…se accesses after database accesses has completed

Before this change, cancelling a database access could cancel *another* database access 😱
@groue groue added the bug label Jul 23, 2025
@groue groue merged commit 1622b72 into development Jul 23, 2025
8 checks passed
@groue groue deleted the dev/cancellation-fix branch July 23, 2025 11:24
groue added a commit that referenced this pull request Jul 26, 2025
groue added a commit that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant