Corruption of ZEO Persistent Cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZODB |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After a "accidental shutdown" (power failure), the persistent zeo cache on my blog got corrupted.
Here's the traceback:
File "/home/
line 47, in startup
_startup()
File "/home/
line 56, in startup
DB = configuration.
File "/home/
96, in getDatabase
db = self._createDat
File "/home/
113, in _createDatabase
db = factory.open()
File
"/home/
line 163, in open
DB = self.createDB()
File
"/home/
line 160, in createDB
return ZODBDatabase.
File "/home/
97, in open
storage = section.
File "/home/
153, in open
read_
File "/home/
line 314, in __init__
self.
File "/home/
112, in open self.fc.
File "/home/
835, in scan install(self.f, ent)
File "/home/
121, in install
o = Object.fromFile(f, ent.key, skip_data=True)
File "/home/
630, in fromFile
raise ValueError(
ValueError: corrupted record, oid
Here's the cache files (zeo1-1.zec is the important one apparently):
http://
affects: | zope2 → zodb |
And here's the thread. mail.zope. org/pipermail/ zodb-dev/ 2006-January/ 009762. html
http://