[ 
https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14142332#comment-14142332
 ] 

Shalin Shekhar Mangar commented on SOLR-6496:
---------------------------------------------

bq. are there any tests out there that may screw with the jetty server to make 
the socket connection arbitrarily long then somehow throw an exception and 
verify that the next request isn't made?

There's a SocketProxy class which can be used to disallow connections to a 
jetty server but there's no rate limiting in there. See HttpPartitionTest for 
an example.

> LBHttpSolrServer should stop server retries after the timeAllowed threshold 
> is met
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-6496
>                 URL: https://issues.apache.org/jira/browse/SOLR-6496
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9
>            Reporter: Steve Davids
>            Assignee: Anshum Gupta
>            Priority: Critical
>             Fix For: 5.0
>
>         Attachments: SOLR-6496.patch, SOLR-6496.patch, SOLR-6496.patch
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to