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

CloudSolrClient retries requests unnecessarily on RouteException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4
    • Fix Version/s: 7.5, 8.0
    • Component/s: SolrCloud, SolrJ
    • Labels:
      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
          5 kB
          Noble Paul
        2. SOLR-12649.patch
          4 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

              • Assignee:
                noble.paul Noble Paul
                Reporter:
                shalinmangar Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: