You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2009/08/21 03:46:14 UTC

[jira] Commented: (SOLR-1376) invalid links to solr indexes after a new index is created

    [ https://issues.apache.org/jira/browse/SOLR-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745766#action_12745766 ] 

Hoss Man commented on SOLR-1376:
--------------------------------

w/o more info, there is no actual evidence of a bug.

Lucene/Solr keeps open refrences to deleted files all the time as part of normal searching -- that's how a consistent view of the index is presented to all users of an IndexSearcher while background updates (which may result in merged segments, which results in deleted files) are taking place.

triggering a commit closes the old searcher and opens a new one, when the old searcher closes the handles to the (deleted) files are closed.

you didn't mention wether you were doing any commits -- if you have evidence that the list of open but deleted files grows over time even as commits happen then there's a potential problem, but since i can't reproduce that we'll need more specifics about your environment, and what exactly you mean by "do a incremental indexing"

> invalid links to solr indexes after a new index is created
> ----------------------------------------------------------
>
>                 Key: SOLR-1376
>                 URL: https://issues.apache.org/jira/browse/SOLR-1376
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 1.3
>            Reporter: kiran sugana
>             Fix For: 1.4
>
>
> After new index is created, it does not delete the links to the old indexes, 
> To recreate the issue, 
> 1) do a incremental indexing 
> 2) cd /proc/[JAVA_PID]/fd
> 3) ls -la
> {code}
> lr-x------ 1 solr roleusers 64 Jul 23 17:31 75 -> /home/..../solrhome/data/index/_kja.fdx (deleted)
> lr-x------ 1 solr roleusers 64 Jul 23 17:31 76 -> /home/...../solrhome/data/index/_kk4.tis (deleted)
> lr-x------ 1 solr roleusers 64 Jul 23 17:31 78 -> /home/..../solrhome/data/index/_kk4.frq (deleted)
> lr-x------ 1 solr roleusers 64 Jul 23 17:31 79 -> /home/..../solrhome/data/index/_kk4.prx (deleted)
> {code}
> This is creating performance issues, (search slows down significantly) 
> Temp Resolution:
> ---- Restart solr

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.