[Checkins] SVN: ZODB/branches/3.7/src/ZEO/tests/ConnectionTests.py Fixed the "potential ZODB cache inconsistency after client reconnect"

Jim Fulton jim at zope.com
Tue Aug 15 20:08:02 EDT 2006


Log message for revision 69550:
  Fixed the "potential ZODB cache inconsistency after client reconnect"
  problem reported on zodb-dev:
  
  http://mail.zope.org/pipermail/zodb-dev/2006-August/010343.html
  
  Added a new invalidateCache protocol for DBs and Connections to
  invalidate the entire in-memory caches.  This is used when ZEO clients
  reconnect.
  

Changed:
  U   ZODB/branches/3.7/src/ZEO/tests/ConnectionTests.py

-=-
Modified: ZODB/branches/3.7/src/ZEO/tests/ConnectionTests.py
===================================================================
--- ZODB/branches/3.7/src/ZEO/tests/ConnectionTests.py	2006-08-15 23:35:21 UTC (rev 69549)
+++ ZODB/branches/3.7/src/ZEO/tests/ConnectionTests.py	2006-08-16 00:08:00 UTC (rev 69550)
@@ -79,6 +79,9 @@
     def invalidate(self, *args, **kwargs):
         pass
 
+    def invalidateCache(self):
+        pass
+
 class CommonSetupTearDown(StorageTestBase):
     """Common boilerplate"""
 



More information about the Checkins mailing list