lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffery Yuan <yuanyun...@gmail.com>
Subject Re: Whether replicationFactor=2 makes sense?
Date Fri, 07 Oct 2016 23:02:53 GMT
Thanks so much for your reply, Erick Erickson.

We want to increase replicationFactor from 1 to 2 to, but I am wondering
what's the advantage to do so.
Whether this will make our system more robust and resilient to temporary
network failure issue?

Say if we have 3 machines, and split data into 3 shards, if we set
replicationFactor to 2,
machine A contains data from shard 1. shard2, machine B contains shard2,
shard 3, machine c contains shard3, shard 1

If machine A is down or has temporally network issue, whether the system can
continue work?
-- I would guess so, as you suggested, the zookeeper is used to maintain
cluster info, then zookeeper will figure out and choose new leader if needed
and the system will keep running.

Thanks again




--
View this message in context: http://lucene.472066.n3.nabble.com/Whether-replicationFactor-2-makes-sense-tp4300204p4300257.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message