[Xapian-discuss] "Error reading block xxx: got end of file"

Eric B. Ridge ebr@tcdi.com
Mon, 07 Jun 2004 23:03:32 -0400


On 6/7/04 9:44 PM, "Olly Betts" <olly@survex.com> wrote:

> On Mon, Jun 07, 2004 at 04:02:41PM -0400, Eric B. Ridge wrote:
>> I've been trying to reproduce this standalone, but haven't been able to
>> break it.  I'm still unclear as to what can cause this error, so I'm not
>> sure how to test for it.
>> 
>> There must be some corner case in replace_document(), but I can't figure out
>> how to trigger it.  Any suggestions?
> 
> I wonder if this is related to the problem Arjen has noticed.  Both seem
> to be tickled by replacing documents...

I haven't been following the list recently, but I hope it's related to
Arjen's problem.

> I'll track this down with the testsuite - if that finds a problem,
> hopefully it'll fix the problems you and Arjen are seeing.

This will be awesome!  I wish I could re-produce it here, but there's just
no way.

In the mean time, do you think it would be safe to move to a "delete, then
add" approach?  I seriously doubt I'll run the doc id numberspace out
anytime soon.  This will cause big headaches for our code, but we've got to
get around this issue somehow...

eric