Chris Spencer wrote at 2005-11-24 21:21 -0500:
>I have a threaded application that access a zodb, and when it shuts 
>down, all the threads that have root connections to the db call 
>transaction.commit(), then delete their root object. However, after I've 
>  joined all my threads and attempt:
>I get the error:
>ZODB.POSException.ConnectionStateError: Cannot close a connection joined 
>to a transaction

Looks like a persistency/threading bug.

Obviously, there is still some transaction (apparently
associated with the main connection) that is not yet aborted/committed.

You probably will need debugging to find out where this transaction
comes from...

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to