-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/27/10 12:29 , Hanno Schlichting wrote:
> On Mon, Apr 26, 2010 at 7:44 PM, Jim Fulton <j...@zope.com> wrote:
>> What do folks think about this? Should missing records be ignored? Or
>> should the missing record cause the pack (or maybe just GC) to fail?
> 
> Mmh, I think having the pack succeed would be nice. It can sometimes
> take a while until you can fix those PosKeyErrors. Not everyone has
> the skill to do that. Preventing the ZODB from growing indefinitely
> during that time would be nice.
> 
> But doing GC on an inconsistent state is probably a bad idea.

IMHO the script should default to failing if the data is inconsistent.
Ignoring the error should be a conscious gesture, the user should have
to supply some flag like "--ignore-errors" if inconsistencies should
really be ignored.

jens

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkvWvXkACgkQRAx5nvEhZLJqSQCcCoLaj1VvEiV/1TF2rQQzAQxX
iMsAniKcV5iWx3W7ePyJ0JrZBAVIVFx8
=LzxX
-----END PGP SIGNATURE-----
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to