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

ASF subversion and git services commented on SOLR-10479:
--------------------------------------------------------

Commit 3b527f8a395450e926bebc3de9146d2e39aa0972 in lucene-solr's branch 
refs/heads/branch_6x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3b527f8 ]

SOLR-10479: Adds support for 
HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction) 
configuration. (Ramsey Haddad, Daniel Collins, Christine Poerschke)


> support 
> HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction) 
> options
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10479
>                 URL: https://issues.apache.org/jira/browse/SOLR-10479
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-10479.patch, SOLR-10479.patch
>
>
> If a request sends no {{timeAllowed}} threshold (or if it sends a very 
> generous threshold) then that request can potentially be retried on 'very 
> many' servers in the cloud.
> Via the 
> {{HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction)}}
>  options the number of servers tried can be restricted via configuration e.g.
> {code}
> <shardHandlerFactory name="shardHandlerFactory" 
> class="solr.HttpShardHandlerFactory">
>   <int   name="loadBalancerRequestsMinimumAbsolute">2</int>
>   <float name="loadBalancerRequestsMaximumFraction">0.50</float>
> </shardHandlerFactory>
> {code}
> would on a six-replica-and-all-replicas-active collection/shard restrict 
> sending to three replicas i.e. max(2, 0.50 x 6) and if the collection/shard 
> temporarily becomes 
> three-replicas-active-and-three-replicas-recovering-or-down then sending is 
> restricted to two replicas i.e. max(2, 0.50 x 3) temporarily.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to