you are correct, that's the whole point of SolrCloud. The other thing replicas gain you is the ability to serve more queries since you only query a single replica for each shards.
Best, Erick On Fri, Oct 7, 2016 at 4:02 PM, Jeffery Yuan <yuanyun...@gmail.com> wrote: > 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.