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

CommonsHttpSolrServer will retry a query even if _maxRetries is 0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 3.1, 4.0-ALPHA
    • Fix Version/s: 3.2
    • Component/s: clients - java
    • Labels:
      None

      Description

      The HttpClient library used by CommonsHttpSolrServer will retry by default 3 times a request that failed on the server side, even if the _maxRetries field of CommonsHttpSolrServer is set to 0.
      The retry count should be managed in just one place and CommonsHttpSolrServer seems to be the right one.
      CommonsHttpSolrServer should override that HttpClient default to 0 retries, and manage the retry count with the value of the field _maxRetries.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tflobbe Tomas Eduardo Fernandez Lobbe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment