You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2018/10/03 02:44:00 UTC
[jira] [Created] (SOLR-12826) Add a default policy to equally
distribute replicas of a shard
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org