You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/03/03 10:27:06 UTC
[jira] [Closed] (LUCENE-6316) LRUQueryCache eviction is slow
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org