Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11991

Configure min and max replication factor in policy rules

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: AutoScaling, SolrCloud
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shalin Shalin Shekhar Mangar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: