lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <>
Subject [jira] [Created] (SOLR-10479) support HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction) options
Date Wed, 12 Apr 2017 11:54:41 GMT
Christine Poerschke created SOLR-10479:

             Summary: support HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction)
                 Key: SOLR-10479
             Project: Solr
          Issue Type: New Feature
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke
            Priority: Minor

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.
<shardHandlerFactory name="shardHandlerFactory" class="solr.HttpShardHandlerFactory">
  <int   name="loadBalancerRequestsMinimumAbsolute">2</int>
  <float name="loadBalancerRequestsMaximumFraction">0.50</float>
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message