"Nikolay Diakov" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]