lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject Re: TermInfosReader lazy term index reading
Date Fri, 02 Feb 2007 20:49:25 GMT
Yonik Seeley wrote:
> I ran across a situation where a great number of threads were blocked on
> ensureIndexIsRead(), even after it had already been loaded.

That sounds bizarre.  A sync block that tests a field for non-null 
shouldn't tie things up much, I wouldn't think.  Are you sure that one 
of the threads wasn't actually reading the index?  Or perhaps some other 
method also synchronizes on the same object?


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

View raw message