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

Add a default policy to equally distribute replicas of a shard

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      We should have a policy to the effect of "maxShardsPerHost=1" by default.

      I created a 4 node cluster , created lots of collection on node1 and node2.

      Then used the suggestions to move replicas. I ended up with a scenario where both replicas of a collection was on one node.

      So if we create a policy such that this can never happen as maxShardsPerHost=1 was the default

      {"replica": "<2", "shard" : "#EACH" , "node" :"#ANY", "strict" : "false" }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                varunthacker Varun Thacker
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: