grantjenks/python-diskcache

PR for fork deadlock

arieleiz opened this issue · 1 comments

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.

Closing in favor of the PR for discussion.