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

LBHttpSolrClient should stop server retries after the timeAllowed threshold is met

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.9
    • 5.0, 6.0
    • None
    • None

    Description

      The LBHttpSolrServer will continue to perform retries for each server it was given without honoring the timeAllowed request parameter. Once the threshold has been met, you should no longer perform retries and allow the exception to bubble up and allow the request to either error out or return partial results per the shards.tolerant request parameter.

      For a little more context on how this is can be extremely problematic please see the comment here: https://issues.apache.org/jira/browse/SOLR-5986?focusedCommentId=14100991&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14100991 (#2)

      Attachments

        1. SOLR-6496.patch
          2 kB
          Steve Davids
        2. SOLR-6496.patch
          2 kB
          Steve Davids
        3. SOLR-6496.patch
          2 kB
          Steve Davids
        4. SOLR-6496.patch
          2 kB
          Anshum Gupta
        5. SOLR-6496.patch
          3 kB
          Anshum Gupta
        6. SOLR-6496.patch
          5 kB
          Steve Davids

        Issue Links

          Activity

            People

              anshum Anshum Gupta
              sdavids Steve Davids
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: