[ZODB-Dev] HA Setup and zodb index file of FileStorage

Dieter Maurer dieter at handshake.de
Fri Sep 22 14:44:15 EDT 2006


Patrick Gerken wrote at 2006-9-22 10:17 +0200:
> ...
>Even the first checkin of the filestorage makes a
>self.read_index(...start = start...)
>which updates the index from the oldest tid known to the index.
>I can only imagine that the index gets invalidated if the
>self._check_sanity() returns 0 thus saying the index is not valid. But
>from my reading through the websvn this should not be the case in the
>scenarios I can imagine (journaled filesystem, no solar winds....).

My experience is that "_check_sanity" returns false whenever
there is a single modification after the index file was written
and then the index is not used at all.



-- 
Dieter


More information about the ZODB-Dev mailing list