Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12649

CloudSolrClient retries requests unnecessarily on RouteException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.4
    • 7.5, 8.0
    • SolrCloud, SolrJ
    • None

    Description

      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.

      Attachments

        1. SOLR-12649.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-12649.patch
          5 kB
          Noble Paul

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              shalin Shalin Shekhar Mangar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: