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

Jeremy Hylton cvs-admin at zope.org
Wed Nov 19 22:13:20 EST 2003


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

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	cache.py 
Log Message:
Make sure version data is tossed on non-version invalidation.


=== ZODB3/ZEO/cache.py 1.1.2.8 => 1.1.2.9 ===
--- ZODB3/ZEO/cache.py:1.1.2.8	Wed Nov 19 14:13:08 2003
+++ ZODB3/ZEO/cache.py	Wed Nov 19 22:13:18 2003
@@ -297,6 +297,10 @@
                 self._trace(0x1A, oid, version, tid)
                 del self.version[oid]
             return
+        if oid in self.version:
+            # If the non-version data changed, the version is gone.
+            # XXX Do we need a cache trace code for this?
+            del self.version[oid]
         if oid not in self.current:
             self._trace(0x10, oid, version, tid)
             return




More information about the Zodb-checkins mailing list