zodb / relstorage

A backend for ZODB that stores pickles in a relational database.
Other
54 stars 46 forks source link

sqlite: deadlock with gevent #382

Closed jamadden closed 4 years ago

jamadden commented 4 years ago

A customer reports that a single process accessing a sqlite database using the gevent driver and a shared blob dir was able to deadlock itself when committing three concurrent transactions that had conflicts. Beginning the critical section sooner (at the beginning of vote, instead of after taking the database lock) solved the problem.

jamadden commented 4 years ago

I've been able to reproduce this in the test suite.