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.
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org