[ZODB-Dev] RelStorage and PosKey errors - is this a risky hotfix?
Shane Hathaway
shane at hathawaymix.org
Mon Jan 24 21:41:13 EST 2011
On 01/24/2011 06:32 PM, Laurence Rowe wrote:
> Must this imply a failure to maintain a foreign key constraint? While
> there are FK constraints on current_object (zoid, tid) -> object_state
> (zoid, tid) there is no foreign key that might prevent a
> current_object row from being incorrectly deleted.
That's true. Thanks for pitching in.
> 2. Something goes wrong during pack gc (either in the pack logic or on
> the database).
Looking at the code, I think I might see a way that current_object rows
could be incorrectly removed by a pack operation, but I'll have to write
tests to find out.
Shane
More information about the ZODB-Dev
mailing list