You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/10/02 00:04:00 UTC

[jira] [Resolved] (SOLR-12649) CloudSolrClient retries requests unnecessarily on RouteException

     [ https://issues.apache.org/jira/browse/SOLR-12649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-12649.
-------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 7.6)
                   7.5

> CloudSolrClient retries requests unnecessarily on RouteException
> ----------------------------------------------------------------
>
>                 Key: SOLR-12649
>                 URL: https://issues.apache.org/jira/browse/SOLR-12649
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud, SolrJ
>    Affects Versions: 7.4
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>            Priority: Major
>             Fix For: master (8.0), 7.5
>
>         Attachments: SOLR-12649.patch, SOLR-12649.patch
>
>
> In SOLR-12610, I noticed that requests being retried by CloudSolrClient when there is no communication exception and no stale state. It seems that CloudSolrCient will retry when there is a RouteException however RouteException is not a communication error but only a wrapper exception for all underlying RemoteExceptions. In other words, CloudSolrClient will retry request on all HTTP 500 errors coming from the server including on admin requests such as split shards.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org