lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless" <>
Subject Re: - possible bug in lock timeout
Date Wed, 07 Nov 2007 14:45:50 GMT

"Nikolay Diakov" <> wrote:

> I hope we do not get lock starvation or anything in these cases. Do
>  these lock have any fairness integrated in them?

Unfortunately, none of the builtin lock factories in Lucene have
fairness: they always just retry once per second (by default).  There
is no fifo queue for example.

> Nevertheless, a proper check for > Integer.MAX_VALUE won't hurt and
> will make the function tolerate the whole range of its parameter
> values

I agree, we should fix this.  I'll open a Jira issue.


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

View raw message