Shalin Shekhar Mangar created SOLR-11991:

             Summary: Configure min and max replication factor in policy rules
                 Key: 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.

// applies for all collections
{"replica":">3", "shard":"#EACH"}
{"replica":"<11", "shard":"#EACH"}

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

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

Reply via email to