[ZODB-Dev] [FileStorage] Potential data loss through packing

Dieter Maurer dieter at handshake.de
Mon Jan 21 13:27:00 EST 2008


Jim Fulton wrote at 2008-1-21 09:41 -0500:
> ... resurrections after pack time may get lost ...
>I'm sure the new pack algorithm is immune to this.  It would be  
>helpful to design a test case to try to provoke this.

I fear, we can not obtain full immunity at all -- unless we perform
packing offline (after having shut down the storage) or use quite
tight synchronization between packing and normal operations.

Otherwise, resurrection can happen while we are packing -- depending
on how far packing has already proceeded, the resurrection would
need to copy the resurrected objects into its own transaction
rather than simply reference them.



-- 
Dieter


More information about the ZODB-Dev mailing list