[ http://issues.apache.org/jira/browse/LUCENE-651?page=all ]
Oliver Hutchison updated LUCENE-651:
------------------------------------
Attachment: LUCENE-651.patch
The attached patch resolves this issue by forcing multiple concurrent requests
to block and wait for a single thread to do the cached value generation.
> Poor performance race condition in FieldCacheImpl
> -------------------------------------------------
>
> Key: LUCENE-651
> URL: http://issues.apache.org/jira/browse/LUCENE-651
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Search
> Affects Versions: 2.0.0
> Reporter: Oliver Hutchison
> Priority: Minor
> Attachments: LUCENE-651.patch
>
>
> A race condition exists in FieldCacheImpl that causes a significant
> performance degradation if multiple threads concurrently request a value that
> is not yet cached. The degradation is particularly noticable in large indexes
> and when there a many concurent requests for the cached value.
> For the full discussion see the mailing list thread 'Poor performance "race
> condition" in FieldSortedHitQueue'
> (http://www.gossamer-threads.com/lists/lucene/java-user/38717).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]