[ZODB-Dev] Deadlock in ZODB/DB.py?

Christian Zagrodnick cz at gocept.com
Mon Oct 9 04:45:08 EDT 2006


Hi there,

the DB.open method makes me wonder how it works (http://svn.zope.org/ 
ZODB/trunk/src/ZODB/DB.py?rev=69551&view=auto)

It locks with self._a() and calls self._connectionMap which locks  
too. I cannot imagine a way this could possibly work.

I guess the lock should be released before the _connectionMap call?

Interestingly both all the tests pass and ZODB works...


-- 
Christian Zagrodnick

gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2409 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20061009/39d03e2f/smime-0001.bin


More information about the ZODB-Dev mailing list