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

Jeremy Hylton jeremy at zope.com
Wed Aug 27 12:23:30 EDT 2003

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

Modified Files:
      Tag: ZODB3-3_1-branch
Log Message:
Processing I/O using self._server instead of self._connection.

This change will cause a Disconnected exception to be raised if the
client gets disconnected, rather than an AttributeError on None.

=== ZODB3/ZEO/ClientStorage.py => ===
--- ZODB3/ZEO/ClientStorage.py:	Wed Aug 27 00:38:51 2003
+++ ZODB3/ZEO/ClientStorage.py	Wed Aug 27 11:23:28 2003
@@ -737,7 +737,7 @@
                 remaining = deadline - time.time()
                 if remaining <= 0:
                     raise StorageTransactionError("Timed out waiting to vote")
-                self._connection.pending(remaining)
+                self._server._update(remaining)
             log2(BLATHER, "Received voteReady notification from server")
             # XXX If the client would fail to call vote, the server would
             # block until it timed the connectio out.  Is that a likely

More information about the Zodb-checkins mailing list