-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
-----END PGP SIGNATURE-----
For more information about ZODB, see the ZODB Wiki:
ZODB-Dev mailing list - ZODB-Dev@zope.org