lucene-java-user mailing list archives

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

"Nikolay Diakov" <nikolay.diakov@fredhopper.com> 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.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message