Shalin Shekhar Mangar created SOLR-12649:
--------------------------------------------

             Summary: 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
             Fix For: master (8.0), 7.5


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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to