Shalin Shekhar Mangar created SOLR-11991:
--------------------------------------------
Summary: Configure min and max replication factor in policy rules
Key: SOLR-11991
URL: https://issues.apache.org/jira/browse/SOLR-11991
Project: Solr
Issue Type: Sub-task
Security Level: Public (Default Security Level. Issues are Public)
Components: AutoScaling, SolrCloud
Reporter: Shalin Shekhar Mangar
Fix For: master (8.0), 7.3
There should be limits on how many maximum or minimum number of replicas can
exist for a collection.
{code}
// applies for all collections
{"replica":">3", "shard":"#EACH"}
{"replica":"<11", "shard":"#EACH"}
{code}
The above two rules set a min of 2 and a max of 10 replicas for all collections
in the cluster. When a new collection or shard is created, the given
replicationFactor must be within these bounds or else the API call should fail.
Similarly an addreplica and deletereplica call should also fail if the result
of the call with violate these rules.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]