[Zodb-checkins] CVS: ZODB3/ZEO - StorageServer.py:1.98.2.5

Jeremy Hylton jeremy at zope.com
Sun Sep 14 16:34:14 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_2-branch
	StorageServer.py 
Log Message:
Add some logging code to figure out why tests hang for Tim.


=== ZODB3/ZEO/StorageServer.py 1.98.2.4 => 1.98.2.5 ===
--- ZODB3/ZEO/StorageServer.py:1.98.2.4	Thu Sep  4 18:06:39 2003
+++ ZODB3/ZEO/StorageServer.py	Sun Sep 14 16:34:13 2003
@@ -571,11 +571,15 @@
         self.log(template % (self.txnlog.stores, self.txnlog.size()),
                  level=zLOG.BLATHER)
         self._tpc_begin(self.transaction, self.tid, self.status)
+        # The next log message is just temporary debugging code
+        self.log("Transaction begun", level=zLOG.DEBUG)
         loads, loader = self.txnlog.get_loader()
         for i in range(loads):
             # load oid, serial, data, version
             if not self._store(*loader.load()):
                 break
+        # The next log message is just temporary debugging code
+        self.log("Stores complete", level=zLOG.DEBUG)
         resp = self._thunk()
         if delay is not None:
             delay.reply(resp)




More information about the Zodb-checkins mailing list