Re: Re: [Zope-dev] Maybe Corrupted ZCatalog but ...

Dieter Maurer dieter at handshake.de
Sat Feb 28 06:44:51 EST 2004


Eric Brun wrote at 2004-2-27 17:22 +0100:
>In this way (with small chunks),
>can I do a get_transaction().commit(1)

The "1" as argument to "commit" means "subtransaction".

This is not sufficient to prevent conflicts from wiping out
the reindexing work. You will need "full" commits.

Moreover, it is unlikely that reindexing the known objects
will fix the bad value in the index (as this references an object
which is no longer there).

Thus, you would need to clear the respective index first.

-- 
Dieter



More information about the Zope-Dev mailing list