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

Make it possible to place a replica of a collection on all nodes satisfying a given property

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • AutoScaling, SolrCloud
    • None

    Description

      Today replicas are placed according to policy rules but there is no way to drive the number of replicas based on policy e.g.

      Example 1: Put a replica of each shard of collection A on each node in the cluster

      {"replica":">0", "node", "#ANY", "shard" : "#EACH", "collection" : "A"}
      

      Example 2: Put a replica of each shard of collection A on every nodes with sysprop.region=east

      {"replica":">0", "sysprop.region", "east", "shard" : "#EACH", "collection" : "A"}
      

      The above two rules can be used to compute the replication factor of collection A but today the replicationFactor parameter passed in collection/shard creation neither takes the rule into account nor does it prevent conflicts. In fact, the replicationFactor should be omitted while creating collection A if the above rules are present.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment