[ 
https://issues.apache.org/jira/browse/LUCENE-6316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand closed LUCENE-6316.
--------------------------------
    Resolution: Duplicate

I managed to reproduce the issue, this is caused by LUCENE-6321. What happens 
is that there is an eviction loop that looks like

{noformat}
while (cache_is_too_large()) {
  to_remove = least_recently_used_entry();
  cache.remove(to_remove);
}
{noformat}

However, the hash of the least-recently used entry has changed in the mean 
time, so the cache cannot find it, the removal fails and this loop becomes an 
infinite loop.

> LRUQueryCache eviction is slow
> ------------------------------
>
>                 Key: LUCENE-6316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6316
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: Trunk, 5.1
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>             Fix For: Trunk, 5.1
>
>
> The stack traces upon timeout of 
> http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11738/console suggest 
> that evictions on LRUQueryCache are slow.



--
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