[Zodb-checkins] CVS: ZODB3/ZEO - ClientStorage.py:1.73.2.22
Jeremy Hylton
jeremy at zope.com
Fri Jun 6 12:56:04 EDT 2003
Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv31053
Modified Files:
Tag: ZODB3-3_1-branch
ClientStorage.py
Log Message:
Fix bad log call.
Add XXX comment about race condition.
=== ZODB3/ZEO/ClientStorage.py 1.73.2.21 => 1.73.2.22 ===
--- ZODB3/ZEO/ClientStorage.py:1.73.2.21 Thu Jun 5 19:01:29 2003
+++ ZODB3/ZEO/ClientStorage.py Fri Jun 6 11:56:03 2003
@@ -616,6 +616,8 @@
# If an invalidation for oid comes in during zeoLoad, that's OK
# because we'll get oid's new state.
+
+ # XXX Race condition among load / invalid / store in cache
p, s, v, pv, sv = self._server.zeoLoad(oid)
self._cache.checkSize(0)
self._cache.store(oid, p, s, v, pv, sv)
@@ -949,8 +951,8 @@
def invalidateTrans(self, args):
"""Invalidate objects modified by tid."""
if self._pickler is not None:
- self.log("Transactional invalidation during cache verification",
- level=zLOG.BLATHER)
+ log2(BLATHER,
+ "Transactional invalidation during cache verification")
for t in args:
self.self._pickler.dump(t)
return
More information about the Zodb-checkins
mailing list