Re: SolrCloud replicaition

2018-05-03 Thread Greenhorn Techie
Perfect! Thanks Erick and Shalin!! On 3 May 2018 at 16:13:06, Erick Erickson (erickerick...@gmail.com) wrote: Shalin's right, I was hurried in my response and forgot that the min_rf just _allows_ the client to figure out that the update didn't get updated on enough replicas and the client has to

Re: SolrCloud replicaition

2018-05-03 Thread Erick Erickson
Shalin's right, I was hurried in my response and forgot that the min_rf just _allows_ the client to figure out that the update didn't get updated on enough replicas and the client has to "do the right thing" with that information, thanks Shalin! Right, your scenario is correct. When the follower g

Re: SolrCloud replicaition

2018-05-02 Thread Greenhorn Techie
Shalin, Given the earlier response by Erick, wondering when this scenario occurs i.e. when the replica node recovers after a time period, wouldn’t it automatically recover all the missed updates by connecting to the leader? My understanding is the below from the responses so far (assuming replicat

Re: SolrCloud replicaition

2018-05-02 Thread Shalin Shekhar Mangar
The min_rf parameter does not fail indexing. It only tells you how many replicas received the live update. So if the value is less than what you wanted then it is up to you to retry the update later. On Wed, May 2, 2018 at 3:33 PM, Greenhorn Techie wrote: > Hi, > > Good Morning!! > > In the case

Re: SolrCloud replicaition

2018-05-02 Thread Erick Erickson
That's a pretty open-ended question. The short form is when the replica switches back to "active" (or green on the admin UI) then it's been caught up. This is all about NRT replicas. PULL and TLOG replicas pull the segments from the leader so the idea of "sending a doc to the replica" doesn't rea

Re: SolrCloud replicaition

2018-05-02 Thread kumar gaurav
Hi Erick What will happen after replica recovered ? Is leader continuously checks status of replica and send again after recovered or replica will pull document for indexing after recovering ? Please clarify this behavior for all of Replica types i.e. NRT, TLOG and PULL. (i have implemented solr

Re: SolrCloud replicaition

2018-05-02 Thread Erick Erickson
1> When the replica fails, the leader tries to resend it, and if the resends fail, then the follower goes into recovery which will eventually get the document caught up. 2> Yes, the client will get a failure indication. Best, Erick On Wed, May 2, 2018 at 3:03 AM, Greenhorn Techie wrot

SolrCloud replicaition

2018-05-02 Thread Greenhorn Techie
Hi, Good Morning!! In the case of a SolrCloud setup with sharing and replication in place, when a document is sent for indexing, what happens when only the shard leader has indexed the document, but the replicas failed, for whatever reason. Will the document be resent by the leader to the replica