[ https://issues.apache.org/jira/browse/SOLR-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353613#comment-14353613 ]
Shawn Heisey commented on SOLR-7203: ------------------------------------ bq. and deprecate setMaxRetries() on HttpSolrClient (seeing as it doesn't do anything now anyway) I admit that my grasp of the code may not be very good, but in both branch_5x and trunk, maxRetries does seem to be used to control a while loop that contains the http request. When I read this, it looks to me like setMaxRetries *does* do something, so what am I missing? > NoHttpResponseException handling in HttpSolrClient is wrong > ----------------------------------------------------------- > > Key: SOLR-7203 > URL: https://issues.apache.org/jira/browse/SOLR-7203 > Project: Solr > Issue Type: Bug > Reporter: Alan Woodward > Assignee: Alan Woodward > Attachments: SOLR-7203.patch, SOLR-7203.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org