[Xapian-discuss] DatabaseCorruptError
Andrew Betts
andrew.betts at assanka.net
Mon Jan 17 14:32:39 GMT 2011
> Is this database ever being moved or replaced? The most likely reason
> I can think of for this pattern of errors is that you're updating the
> database by building a new copy, and then swapping it into place. If
> such a swap happened during a search, you could get an error like
> this.
>
> If you're only doing the updates by indexing directly to the database,
> this can't be the problem. If that's the situation, pehaps your
> remote filesystem is reordering writes to the different files in the
> database such that an inconsistent view is being presented to the
> searchers.
We aren't moving the file, but Gluster (the shared storage platform
we're using) might be I suppose. If that would produce this pattern,
then that gives me a starting point. Thanks!
More information about the Xapian-discuss
mailing list