You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/05/03 17:39:13 UTC

[jira] [Updated] (SOLR-9059) SolrClientCache should clear internal client map following close

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

Joel Bernstein updated SOLR-9059:
---------------------------------
    Summary: SolrClientCache should clear internal client map following close  (was: StreamHandler should re-create the client cache following reload)

> SolrClientCache should clear internal client map following close
> ----------------------------------------------------------------
>
>                 Key: SOLR-9059
>                 URL: https://issues.apache.org/jira/browse/SOLR-9059
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Joel Bernstein
>            Assignee: Joel Bernstein
>             Fix For: 6.1
>
>         Attachments: SOLR-9059.patch, SOLR-9059.patch
>
>
> Currently the StreamHandler opens the client cache only once when the StreamHandler is initialized. During a collection reload the client cache is closed by the closeHook, but not re-opened. This causes null pointers as the CloudSolrClient sets the zkStateReader = null when it's closed.
> A simple fix for this is to have the SolrClientCache clear it's internal map of clients after closing. The next time the cache is accessed it will then create new clients.



--
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