[ZODB-Dev] Persistent ZEO Cache corruption?
    Sidnei da Silva 
    sidnei at enfoldsystems.com
       
    Thu Jan 12 06:17:59 EST 2006
    
    
  
Every now and then I face a corruption of the persistent zeo cache,
but this is the first time I get this variant.
The cause is very likely to be a forced shutdown of the box this zope
instance was running on, but I thought it would be nice to report the
issue.
Here's the traceback::
File "/home/sidnei/src/zope/28five/lib/python/ZEO/ClientStorage.py",
line 314, in __init__
  self._cache.open()
File "/home/sidnei/src/zope/28five/lib/python/ZEO/cache.py", line
112, in open    self.fc.scan(self.install)
File "/home/sidnei/src/zope/28five/lib/python/ZEO/cache.py", line
835, in scan    install(self.f, ent)
File "/home/sidnei/src/zope/28five/lib/python/ZEO/cache.py", line
121, in install
  o = Object.fromFile(f, ent.key, skip_data=True)
File "/home/sidnei/src/zope/28five/lib/python/ZEO/cache.py", line
630, in fromFile
  raise ValueError("corrupted record, oid")
ValueError: corrupted record, oid
I have a copy of the zeo cache file if anyone is interested.
What is bad about this problem is that it prevented Zope from starting
and there is no obvious clue that removing the persistent zeo cache
would cure it, though that's what anyone that has a clue about what
he's doing would do *wink*.
-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
    
    
More information about the ZODB-Dev
mailing list