You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sudhan Moghe (JIRA)" <ji...@apache.org> on 2014/09/25 01:04:34 UTC

[jira] [Created] (SOLR-6561) LBHttpSolrServer's aliveCheckExecutor is leaking connection when ResponseParser is null

Sudhan Moghe created SOLR-6561:
----------------------------------

             Summary: LBHttpSolrServer's aliveCheckExecutor is leaking connection when ResponseParser is null
                 Key: SOLR-6561
                 URL: https://issues.apache.org/jira/browse/SOLR-6561
             Project: Solr
          Issue Type: Bug
          Components: clients - java
    Affects Versions: 4.10
            Reporter: Sudhan Moghe


LBHttpSolrServer's aliveCheckExecutor is leaking connection when ResponseParser is null.
We are providing search as a service and our Solr setup is not directly exposed to clients. We are setting parser to null and then passing on the InputStream, received from Solr server, as it is to our clients.
The LBHttpSolrServer.checkAZombieServer() is no closing connection in this case.

I think something like following needs to be there. Not the exact code.
if (zombieServer.solrServer.getParser() == null)
	is = (InputStream) resp.getResponse().get("stream");
	is.close();
}

This is blocker for us. I will test this out locally and update this bug report. But, we can't deploy that in production till we get official fix.



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