Varun Thacker created SOLR-12826:
------------------------------------

             Summary: Add a default policy to equally distribute replicas of a 
shard
                 Key: SOLR-12826
                 URL: https://issues.apache.org/jira/browse/SOLR-12826
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: AutoScaling
            Reporter: Varun Thacker


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
{code:java}
{"replica": "<2", "shard" : "#EACH" , "node" :"#ANY", "strict" : "false" }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to