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 "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/12/18 14:19:45 UTC
[jira] Resolved: (SOLR-863) SolrCore.initIndex should close the
directory it gets for clearing the lock and use the DirectoryFactory
[ https://issues.apache.org/jira/browse/SOLR-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-863.
----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.1)
1.4
Assignee: Shalin Shekhar Mangar
Committed revision 727719.
Thanks Mark!
> SolrCore.initIndex should close the directory it gets for clearing the lock and use the DirectoryFactory
> --------------------------------------------------------------------------------------------------------
>
> Key: SOLR-863
> URL: https://issues.apache.org/jira/browse/SOLR-863
> Project: Solr
> Issue Type: Bug
> Reporter: Mark Miller
> Assignee: Shalin Shekhar Mangar
> Priority: Trivial
> Fix For: 1.4
>
> Attachments: SOLR-863.patch, SOLR-863.patch
>
>
> Could put the close in a finally as well, but if you get an exception here I don't think your going anywhere anyway, so probably doesn't matter (it probably doesn't even matter that its not closed, but it should be).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.