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

NoHttpResponseException handling in HttpSolrClient is wrong

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: None
    • Labels:
      None

      Description

      We've got logic in HttpSolrClient to catch NoHttpResponseException and retry. However, this logic appears to be in the wrong place - it's in the createMethod function, which doesn't actually execute any http requests at all. It ought to be in executeMethod.

      Fixing this might help sort out the persistent Jenkins failures as well.

        Attachments

        1. SOLR-7203.patch
          14 kB
          Alan Woodward
        2. SOLR-7203.patch
          20 kB
          Alan Woodward
        3. SOLR-7203.patch
          13 kB
          Alan Woodward

          Issue Links

            Activity

              People

              • Assignee:
                romseygeek Alan Woodward
                Reporter:
                romseygeek Alan Woodward
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: