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

LBHttpSolrClient should stop server retries after the timeAllowed threshold is met

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.9
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      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
          5 kB
          Steve Davids
        2. SOLR-6496.patch
          3 kB
          Anshum Gupta
        3. SOLR-6496.patch
          2 kB
          Anshum Gupta
        4. SOLR-6496.patch
          2 kB
          Steve Davids
        5. SOLR-6496.patch
          2 kB
          Steve Davids
        6. SOLR-6496.patch
          2 kB
          Steve Davids

          Issue Links

            Activity

              People

              • Assignee:
                anshumg Anshum Gupta
                Reporter:
                sdavids Steve Davids
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: