lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: SolrCloud 5.1 startup looking for standalone config
Date Fri, 05 Jun 2015 15:28:03 GMT
bq: Does this remain 'fixed' in Zookeeper once established, so that restarting
nodes will not affect their shardn assignment?

How could it work otherwise? If restarting a node assigned the index
on that disk to another shard chaos would ensue.

Best,
Erick

On Fri, Jun 5, 2015 at 6:51 AM, tuxedomoon <dancoleman2@yahoo.com> wrote:
>>> I would need to look at the code to figure out how it works, but I would
>>> imagine that the shards are shuffled randomly among the hosts so that
>>> multiple collections will be evenly distributed across the cluster.  It
>>> would take me quite a while to familiarize myself with the code before I
>>> could figure out where to look.
>
> The random assignment is ok, wherever shard3 is created will become node3
> for my system.  As long as each leader and replica pair remain partnered
>
> mycollection_shard1_replica1  <--> mycollection_shard1_replica2
> mycollection_shard2_replica1  <--> mycollection_shard2_replica2
> etc
>
> Does this remain 'fixed' in Zookeeper once established, so that restarting
> nodes will not affect their shardn assignment?
>
>
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/SolrCloud-5-1-startup-looking-for-standalone-config-tp4209118p4209990.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message