[Zodb-checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.73.2.18

Jeremy Hylton jeremy at zope.com
Thu Jun 5 17:38:47 EDT 2003


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv28690

Modified Files:
      Tag: ZODB3-3_1-branch
	ClientStorage.py 
Log Message:
Don't hold the lock during the undo call.


=== ZODB3/ZEO/ClientStorage.py 1.73.2.17 => 1.73.2.18 ===
--- ZODB3/ZEO/ClientStorage.py:1.73.2.17	Thu Jun  5 16:33:37 2003
+++ ZODB3/ZEO/ClientStorage.py	Thu Jun  5 16:38:47 2003
@@ -853,9 +853,9 @@
         """Storage API: undo a transaction, writing directly to the storage."""
         if self._is_read_only:
             raise POSException.ReadOnlyError()
+        oids = self._server.undo(transaction_id)
         self._lock.acquire()
         try:
-            oids = self._server.undo(transaction_id)
             for oid in oids:
                 self._cache.invalidate(oid, '')
         finally:




More information about the Zodb-checkins mailing list