[Xapian-discuss] Threaded test (in C++) to reproduce our database problems

Olly Betts olly@survex.com
Fri, 18 Jun 2004 02:08:39 +0100


On Thu, Jun 17, 2004 at 05:25:12PM -0400, Eric B. Ridge wrote:
> CVS HEAD fixes up the little standalone test for me too.
> 
> I need to update our Java code to call .reopen(), but I have positive vibes
> that everything will be just fine.

I'm worried that CVS HEAD doesn't actually fix the problem, it just
makes it less likely to pop up.  Mind you, that's still an improvement.

The "per-process errno rather than per-thread" fits the facts well.
But even if it's close, it's not quite that simple - if I modify your
example so I just watch errno, it doesn't change.  Perhaps the way
Xapian is compiled makes a difference?  Or that it's a shared library?

> How soon before 0.8.1 comes out?

Not sure.  I'd like to make sure everything is fixed, but I've got some
paid work to do right now, and I'm away all of next month.  Unless that
work takes longer than expected, I should be able to at least fit in a
release before I go.

Cheers,
    Olly