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/23 21:49:00 UTC

[jira] [Resolved] (SOLR-12826) Add a default policy to equally distribute replicas of a shard

     [ https://issues.apache.org/jira/browse/SOLR-12826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker resolved SOLR-12826.
----------------------------------
    Resolution: Won't Fix

This work will be superceded by SOLR-12845

> 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
>            Priority: Major
>
> 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