[
https://issues.apache.org/jira/browse/SOLR-17776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Smiley updated SOLR-17776:
--------------------------------
Description:
See the linked dev list thread. Summary:
If Http2SolrClient.Builder.withHttpClient is used, (and it's used more in 9.8,
shifted from deprecated Apache HttpClient based clients): settings affecting
HttpClient construction cannot be customized; an IllegalStateException will now
be thrown if you try. The connection timeout cannot be customized, but idle &
request timeouts can be. Callers (various places in Solr) should no longer
customize the connection timeout.
The HttpJdkSolrClient wasn't setting the connection timeout as per the builder
configuration.
was:
See the linked dev list thread. Summary:
If Http2SolrClient.Builder.withHttpClient is used, (and it's used more in 9.8,
shifted from deprecated Apache HttpClient based clients), settings affecting
HttpClient construction cannot be customized; an IllegalStateException will now
be thrown if you try. The connection timeout cannot be customized, but idle &
request timeouts can be. Callers (various places in Solr) should no longer
customize the connection timeout.
The HttpJdkSolrClient wasn't setting the connection timeout as per the builder
configuration.
> Harmonize SolrJ Http2SolrClient (Jetty) & HttpJdkSolrClient timeouts
> --------------------------------------------------------------------
>
> Key: SOLR-17776
> URL: https://issues.apache.org/jira/browse/SOLR-17776
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Reporter: David Smiley
> Priority: Major
>
> See the linked dev list thread. Summary:
> If Http2SolrClient.Builder.withHttpClient is used, (and it's used more in
> 9.8, shifted from deprecated Apache HttpClient based clients): settings
> affecting HttpClient construction cannot be customized; an
> IllegalStateException will now be thrown if you try. The connection timeout
> cannot be customized, but idle & request timeouts can be. Callers (various
> places in Solr) should no longer customize the connection timeout.
> The HttpJdkSolrClient wasn't setting the connection timeout as per the
> builder configuration.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]