You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2015/04/30 23:01:06 UTC

[jira] [Resolved] (SOLR-7486) HttpSolrClient.shutdown() should call close() and not vice versa

     [ https://issues.apache.org/jira/browse/SOLR-7486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera resolved SOLR-7486.
------------------------------
    Resolution: Fixed

Committed to 5x.

> HttpSolrClient.shutdown() should call close() and not vice versa
> ----------------------------------------------------------------
>
>                 Key: SOLR-7486
>                 URL: https://issues.apache.org/jira/browse/SOLR-7486
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>             Fix For: 5.2
>
>         Attachments: SOLR-7486.patch
>
>
> HttpSolrClient.shutdown() is deprecated, however close() calls it instead of the other way around. If anyone extends HttpSolrClient, he needs to override both methods to make sure things are closed properly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org