Andreas Jung wrote at 2007-2-12 18:25 +0100: > ... >This script fails badly during during the first commit() call. Is this a bug >or feature? I am using Zope 2.10.2 on MacOSX Intel.
Looks like a bug. Apparently, an invalidation message arrives at the ZEO client cache for an object that is not in the cache. Of course, this is a standard case and must be handled correctly by the cache. However in your (buggy) case, the object is not in the "FileCache" (on disk) instance but "self.current" contains the object. This inconsistency between the on disk state and the in memory state causes the bug. Looks like a "ZEO.cache.ClientCache" bug. -- Dieter _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev