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

PR for fork deadlock #300

Closed
arieleiz opened this issue Dec 24, 2023 · 1 comment
Closed

PR for fork deadlock #300

arieleiz opened this issue Dec 24, 2023 · 1 comment

Comments

@arieleiz
Copy link

Hi,

Here is a PR to fix a deadlock in python-diskache when forking with the transaction lock locked:

#299.

When a fork occurs while the sqlite db is mid-transaction, the sqlite transaction lock remains locked forever in the forkee, deadlocking it.

@grantjenks
Copy link
Owner

Closing in favor of the PR for discussion.

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

No branches or pull requests

2 participants