I'm trying to build a SolrCloud with 4 leader/replica pairs. Starting my
first host with this tomcat6.conf setting

CATALINA_OPTS="${CATALINA_OPTS} -DnumShards=4
-Dbootstrap_confdir=/data/solr/rockbands/conf
-Dcollection.configName=rockbands_conf -DzkHost=zk1:2181,zk2:2181,zk3:2181" 

and then starting up host2, host3 and host4 in order I am expecting to see a
cloud graph like this
                    
                      shard1 - host1  ip
rockbands -->  shard2 - host2 ip
                      shard3  - host3 ip
                      shard4  - host4 ip

But the cloud graph shows this order after the first host is started

                      shard1 - host1 ip
rockbands -->  shard4
                      shard2
                      shard3

Clearing out the /var/lib/zookeeper directory (excepting myid), restarting
all zookeeper hosts and restarting all SOLR hosts does not help.  I would
like to know why I cannot get these in correct order.  

This is SOLR 4.2   





--
View this message in context: 
http://lucene.472066.n3.nabble.com/SolrCloud-default-shard-assignment-order-not-correct-tp4190426.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to