Thanks! Looks like replicationFactor is only a startup parameter.

scott.chu,scott....@udngroup.com
2016/5/26 (週四)
----- Original Message ----- 
From: Jeff Wartes 
To: solr-user 
CC: 
Date: 2016/5/26 (週四) 00:26
Subject: Re: What if adding 3rd node exceeds replication Factor?[scottchu]


SolrCloud never creates replicas automatically, unless perhaps you’re using the 
HDFS-only autoAddReplicas option. Start the new node using the same ZK, and 
then use the Collections API 
(https://cwiki.apache.org/confluence/display/solr/Collections+API) to 
ADDREPLICA. 

The replicationFactor you specified at collection creation is pretty much 
ignored after creation. 


On 5/25/16, 8:53 AM, "Scott Chu" <scott....@udngroup.com> wrote: 

>I start 2 nodes and a zk ensemble to manager these nodes. Then I create a 
>collection with numShards=1 and replicationFactor=2 on 1st node. It spread 
>onto 2 nodes (meaning 1 leader, 1 replica). Now I want to add 3rd node but 
>don't do splitsharding. Before I try I want to ask some questions: Do I just 
>start node3 and join in same zk ensemble, Solrcloud will automatically create 
>replica on 3rd node? Or do I have to manually call some API to add replica to 
>3rd node? Either way, doesn't this exceed the replicationFactor? 
> 
>Scott Chu,scott....@udngroup.com 
>2016/5/25 (週三) 



----- 
未在此訊息中找到病毒。 
已透過 AVG 檢查 - www.avg.com 
版本: 2015.0.6201 / 病毒庫: 4568/12296 - 發佈日期: 05/25/16

Reply via email to