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

CloudSolrClient retries requests unnecessarily on RouteException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment