[
https://issues.apache.org/jira/browse/SOLR-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-863:
---------------------------------------
Attachment: SOLR-863.patch
Made sure we don't call close on a null dir. I plan to commit shortly.
> 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
> Priority: Trivial
> Fix For: 1.3.1
>
> 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.