lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marvin Humphrey <mar...@rectangular.com>
Subject Re: [lucy-user] Postings.skip error dring updates
Date Fri, 26 Sep 2014 13:55:34 GMT
On Fri, Sep 26, 2014 at 4:29 AM, Thomas den Braber
<thomas@mediafiler.com> wrote:
> Hallo,
>
> I experience a strange error when doing a lot of update in the index and at
> the same time run the background merger.
>
> it is /path/to/index/seg_20u/postings.skip past EOF (14 > 0)
>
> I am using Lucy 0.3.3
>
> Any ideas ?

This kind of error typically manifests when two write processes have
stomped on each other trying to write the same segment. When an index
is being modified, content is originally written to temporary files;
these temporary files are then consolidated into a "compound" file
before the commit completes.  If one of the temporary files has been
overwritten by another process and is an unexpected length, the
consolidation will fail with an error message as above.

Two situations which have in the past led to such errors are locking
problems and internal failure to clean up detritus from a crashed
writing session.  Is there anything unusual about your locking setup
-- are you disabling locking, running on NFS, etc?

Marvin Humphrey

Mime
View raw message