[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - connection.py:1.49

Jeremy Hylton jeremy at zope.com
Fri Jun 13 18:56:39 EDT 2003


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

Modified Files:
	connection.py 
Log Message:
Bacport various cache consistency bug fixes from the ZODB3-3_1-branch.


=== ZODB3/ZEO/zrpc/connection.py 1.48 => 1.49 ===
--- ZODB3/ZEO/zrpc/connection.py:1.48	Fri May 30 15:20:56 2003
+++ ZODB3/ZEO/zrpc/connection.py	Fri Jun 13 17:56:38 2003
@@ -398,6 +398,14 @@
         self.send_call(method, args, ASYNC)
         self.poll()
 
+    def callAsyncNoPoll(self, method, *args):
+        # Like CallAsync but doesn't poll.  This exists so that we can
+        # send invalidations atomically to all clients without
+        # allowing any client to sneak in a load request.
+        if self.closed:
+            raise DisconnectedError()
+        self.send_call(method, args, ASYNC)
+
     # handle IO, possibly in async mode
 
     def _prepare_async(self):




More information about the Zodb-checkins mailing list