lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: "read past EOF" when merge
Date Fri, 02 Nov 2012 10:41:09 GMT
Are you able to reproduce the corruption?

If at any time you accidentally had two writers open on the same
index, it could have created this corruption.

Writing to an index over NFS ought to be OK, however, it's not well
tested.  You should use SimpleFSLockFactory (not the default

The more "typical" way people use NFS is to write to an index on a
local disk, and then other machines read from that index using NFS.

In any event performance is usually much worse than using local disks ...

Mike McCandless

On Thu, Nov 1, 2012 at 10:32 PM, superruiye <> wrote:
> oh ,thx,I don't know CheckIndex before...and I use to fix my error index,it
> is OK...
> I use NFS to share my index,and no change to the LogFactory.
> How could I avoid this problem,and not only fix after it was broken
> suddenly?
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message