Re: Solr High Availability

2015-12-16 Thread Peter Tan
Thanx for the response. There were few occurrences of our SolrCloud cluster where when a primary went down in a shard, the replica didn't get promoted which eventually led to downtime. We had to restart zookeeper services (we have three zookeeper nodes) to promote the replica into primary. But I

Re: Solr High Availability

2015-12-16 Thread Upayavira
If you have two replicas (one leader/one replica) for each shard of your collection, and you ensure that no two replicas are on the same node, and you have three independent Zookeeper nodes, then yes, you should have HA. Upayavira On Wed, Dec 16, 2015, at 05:48 PM, Peter Tan wrote: > Hi Jack, >

Re: Solr High Availability

2015-12-16 Thread Peter Tan
Hi Jack, Appreciate you helping me to clear this up. For replicationFactor = 1, that means only keeping one copy of document in the cluster. Currently, for our SolrCloud setup, we have two replicas (primary and replica) per each shard (total of 5 shards). This should achieve the HA already, cor

Re: Solr High Availability

2015-12-15 Thread Jack Krupansky
There is no HA with a single replica for each shard. Replication factor must be at least 2 for HA. -- Jack Krupansky On Wed, Dec 16, 2015 at 12:38 AM, Peter Tan wrote: > Hi Jack, What happens when there is only one replica setup? > > On Tue, Dec 15, 2015 at 9:32 PM, Jack Krupansky > wrote: > >

Re: Solr High Availability

2015-12-15 Thread Peter Tan
Hi Jack, What happens when there is only one replica setup? On Tue, Dec 15, 2015 at 9:32 PM, Jack Krupansky wrote: > Solr Cloud provides HA when you configure at least two replicas for each > shard and have at least 3 zookeepers. That's it. No deck or detail document > is needed. > > > > -- Jack

Re: Solr High Availability

2015-12-15 Thread Jack Krupansky
Solr Cloud provides HA when you configure at least two replicas for each shard and have at least 3 zookeepers. That's it. No deck or detail document is needed. -- Jack Krupansky On Tue, Dec 15, 2015 at 9:07 PM, wrote: > Hi Team, > > Can you help me in understanding in achieving the Solr High