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

Jeremy Hylton jeremy at zope.com
Mon Jun 16 12:48:14 EDT 2003


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

Modified Files:
	ClientStorage.py 
Log Message:
Restore call to setLastTid() in tpc_finish().

It was lost backporting changes from the 3.1 branch, which doesn't
have the last tid feature.


=== ZODB3/ZEO/ClientStorage.py 1.104 => 1.105 ===
--- ZODB3/ZEO/ClientStorage.py:1.104	Mon Jun 16 11:09:05 2003
+++ ZODB3/ZEO/ClientStorage.py	Mon Jun 16 11:48:14 2003
@@ -900,7 +900,8 @@
             finally:
                 self._lock.release()
 
-            self._server.tpc_finish(self._serial)
+            tid = self._server.tpc_finish(self._serial)
+            self._cache.setLastTid(tid)
 
             r = self._check_serials()
             assert r is None or len(r) == 0, "unhandled serialnos: %s" % r




More information about the Zodb-checkins mailing list