[
https://issues.apache.org/jira/browse/SOLR-17897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032505#comment-18032505
]
ASF subversion and git services commented on SOLR-17897:
--------------------------------------------------------
Commit d52761aa97933bdaf65202208efc111bcd98a1cb in solr's branch
refs/heads/main from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=d52761aa979 ]
SOLR-17897: CloudSolrClient: treat UnknownHostException as retry-able (#3791)
CloudSolrClient now recognizes UnknownHostException as a case to refetch the
cluster state and retry. A "commError".
> CloudSolrClient should retry for UnknownHostException
> -----------------------------------------------------
>
> Key: SOLR-17897
> URL: https://issues.apache.org/jira/browse/SOLR-17897
> Project: Solr
> Issue Type: Improvement
> Components: SolrCloud, SolrJ
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> CloudSolrClient retries some requests and re-fetches ClusterState if it
> thinks there was a communication error. It ought to consider
> UnknownHostException as such a case since this will happen when a node is
> shut down (esp. in cloud infrastructure), so that it refetches ClusterState
> and finds another replica that is available.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]