[ZODB-Dev] Lower levels of isolation

Itamar Shtull-Trauring lists@itamarst.org
Wed, 05 Sep 2001 16:07:03 +0300


Hi,

I've got a number of threads, each with its own Connection to the ZODB. I 
make a change in one thread, and commit. How can I have the other 
connections in the other threads be able to read the changes by the other 
thread?

I know the isolation of the connections prevent this, but at some point 
presumably they must resync. I assumed this was at commit, so I prefixed a 
get_transaction().commit() before reading the data, but that didn't seem to 
help. So how do I do it?