[ZODB-Dev] [ZODB3.1] easily reproducible deadlock
Shane Hathaway
shane at zope.com
Sat Dec 6 20:16:44 EST 2003
Dieter Maurer wrote:
> I have an appliciation that (for modularity reasons)
> opens two separate ZODB connections to the same ZEO server and
> the same storage. When both connections are affected by a transaction,
> deadlock occurs when the transaction commits.
> The ZEO server reports in this situation:
>
> Transaction blocked waiting for storage. Clients waiting: 1.
>
> It never unblocks the transaction.
>
>
> I fear I understand why this happens and that it will not be easy to
> fix.
We have avoided opening two connections to the same storage for reasons
just like this. It's an artifact of the design. We'd be pleased to
hear a solution for your problem that does not break the design. :-)
Shane
More information about the ZODB-Dev
mailing list