[Zope-dev] Maybe Corrupted ZCatalog but ...
Dieter Maurer
dieter at handshake.de
Sat Feb 28 06:41:21 EST 2004
Eric Brun wrote at 2004-2-26 17:59 +0100:
> ...
>When we do a search on a ZCatalog we have the message below. We work with Z=
>ope 2.6.2 and our Catalog have more than 200 000 objects referenced.
>
>We think our catalog is corrupted but we would correct it.
> ...
>Type d'erreur : KeyError =
>
>Valeur : 182975046 =
> ...
>Module Products.ZCatalog.Lazy, line 155, in __getitem__ =
>Module Products.ZCatalog.Catalog, line 149, in __getitem__ =
>KeyError: 182975046 =
This indicates an inconsitency between an index and
the set of catalogued objects.
When you have a good indication, which index contains the
inconsistency, you can just "reindex" this index.
This may be significantly faster then reindexing the complete
catalog. Moreover, conflict probability might be (slightly) smaller.
--
Dieter
More information about the Zope-Dev
mailing list