python-diskcache icon indicating copy to clipboard operation
python-diskcache copied to clipboard

PR for fork deadlock

Open arieleiz opened this issue 2 years ago • 0 comments

Hi,

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

https://github.com/grantjenks/python-diskcache/pull/299.

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

arieleiz avatar Dec 24 '23 14:12 arieleiz