[ 
https://issues.apache.org/jira/browse/LUCENE-7237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253813#comment-15253813
 ] 

ASF subversion and git services commented on LUCENE-7237:
---------------------------------------------------------

Commit a123224d2efb07490a235569570c8f7b8fbd7c8f in lucene-solr's branch 
refs/heads/branch_6x from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a123224 ]

LUCENE-7237: LRUQueryCache now prefers returning an uncached Scorer than 
waiting on a lock.


> LRUQueryCache should rather not cache than wait on a lock
> ---------------------------------------------------------
>
>                 Key: LUCENE-7237
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7237
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>             Fix For: master, 6.1
>
>         Attachments: LUCENE-7237.patch
>
>
> This is an idea Robert just mentioned to me: currently the cache is using a 
> lock to keep various data-structures in sync. It is a pity that you might 
> have contention because of caching. So something we could do would be to not 
> cache when the lock is already taken.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to