You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2018/06/22 05:20:00 UTC
[jira] [Updated] (SOLR-11991) Configure min and max replication
factor in policy rules
[ https://issues.apache.org/jira/browse/SOLR-11991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noble Paul updated SOLR-11991:
------------------------------
Issue Type: New Feature (was: Sub-task)
Parent: (was: SOLR-9735)
> 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: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling, SolrCloud
> Reporter: Shalin Shekhar Mangar
> Priority: Major
> Fix For: 7.4, master (8.0)
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org