[ZODB-Dev] Problems in ZEO pack in 3.9.x?

Jens Vagelpohl jens at dataflake.org
Tue Apr 27 06:33:29 EDT 2010


-----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 <jim at 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-----


More information about the ZODB-Dev mailing list