Hoss Man created SOLR-3717:
------------------------------

             Summary: DirectoryFactory.close() is never called
                 Key: SOLR-3717
                 URL: https://issues.apache.org/jira/browse/SOLR-3717
             Project: Solr
          Issue Type: Bug
            Reporter: Hoss Man
             Fix For: 5.0, 4.0


While working on SOLR-3699 i noticed that DirectoryFactory implements Closable 
(and thus: has a close() method) but (unless i'm missing something) never gets 
closed.

I suspect the code that use to close() the DirectoryFactory got refactored into 
oblivion when SolrCoreState was introduced, and reloading a SolrCore started 
reusing the same DirectoryFactory.

it seems like either DirectoryFactory should no longer have a close() method, 
or something at the CoreContainer level should ensure that all 
DirectoryFactories are closed when shuting down

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to