lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Braun (JIRA)" <>
Subject [jira] (SOLR-9248) HttpSolrClient not compatible with compression option
Date Tue, 31 Jan 2017 18:06:51 GMT


Michael Braun commented on SOLR-9248:

Is this still affecting current 6.x versions of Solr? 

> HttpSolrClient not compatible with compression option
> -----------------------------------------------------
>                 Key: SOLR-9248
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrJ
>    Affects Versions: 5.5, 5.5.1
>            Reporter: Gary Lee
>         Attachments:
> Since Solr 5.5, using the compression option (solrClient.setAllowCompression(true)) causes
the HTTP client to quickly run out of connections in the connection pool. After debugging
through this, we found that the GZIPInputStream is incompatible with changes to how the response
input stream is closed in 5.5. It is at this point when the GZIPInputStream throws an EOFException,
and while this is silently eaten up, the net effect is that the stream is never closed, leaving
the connection open. After a number of requests, the pool is exhausted and no further requests
can be served.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message