You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Lyle (Jira)" <ji...@apache.org> on 2020/03/30 06:58:00 UTC
[jira] [Comment Edited] (SOLR-14317) HttpClusterStateProvider
throws exception when only one node down
[ https://issues.apache.org/jira/browse/SOLR-14317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070713#comment-17070713 ]
Lyle edited comment on SOLR-14317 at 3/30/20, 6:57 AM:
-------------------------------------------------------
Attached patch for branch_7_7.
[~ichattopadhyaya], [~noble], May I know the release plan for version 7.7.3 ?
was (Author: lyle_wang):
Attached patch for branch_7_7.
[~ichattopadhyaya], [~noble], May I know the release plan 7.7.3 ?
> HttpClusterStateProvider throws exception when only one node down
> -----------------------------------------------------------------
>
> Key: SOLR-14317
> URL: https://issues.apache.org/jira/browse/SOLR-14317
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ
> Affects Versions: 7.7.1, 7.7.2
> Reporter: Lyle
> Assignee: Ishan Chattopadhyaya
> Priority: Major
> Fix For: 8.6
>
> Attachments: SOLR-14317.patch, SOLR-14317.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When create a CloudSolrClient with solrUrls, if the first url in the solrUrls list is invalid or server is down, it will throw exception directly rather than try remaining url.
> In [https://github.com/apache/lucene-solr/blob/branch_7_7/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClusterStateProvider.java#L65], if fetchLiveNodes(initialClient) have any IOException, in [https://github.com/apache/lucene-solr/blob/branch_7_7/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java#L648], exceptions will be caught and throw SolrServerException to the upper caller, while no IOExceptioin will be caught in HttpClusterStateProvider.fetchLiveNodes(HttpClusterStateProvider.java:200).
> The SolrServerException should be caught as well in [https://github.com/apache/lucene-solr/blob/branch_7_7/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClusterStateProvider.java#L69], so that if first node provided in solrUrs down, we can try to use the second to fetch live nodes.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org