[
https://issues.apache.org/jira/browse/SOLR-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-1248:
-------------------------------
Attachment: SOLR-1248.patch
With the patch to SolrIndexReader.toString() you can see the reference count
climb every time you do a commit(). With the patch to SolrIndexSearcher(), it
doesn't happen any more.
> IndexReader reference counting bug
> ----------------------------------
>
> Key: SOLR-1248
> URL: https://issues.apache.org/jira/browse/SOLR-1248
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Yonik Seeley
> Fix For: 1.4
>
> Attachments: SOLR-1248.patch
>
>
> close() only works once on an IndexReader - we should use decRef() instead.
> http://search.lucidimagination.com/search/document/487bd45222556c15/is_close_correct
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.