[ 
https://issues.apache.org/jira/browse/SOLR-17897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032569#comment-18032569
 ] 

ASF subversion and git services commented on SOLR-17897:
--------------------------------------------------------

Commit 09273605e32820bf0f04ae1e392e0a47f35009e7 in solr's branch 
refs/heads/branch_10x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=09273605e32 ]

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]

Reply via email to