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 really apply. Well, TLOG replicas get a copy of the doc for _their_ tlogs but there is no active indexing going on. Best, Erick On Wed, May 2, 2018 at 8:43 AM, kumar gaurav <kg2...@gmail.com> wrote: > 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 7.3 ) > > Thanks . > Kumar Gaurav > > > On Wed, May 2, 2018 at 9:04 PM, Erick Erickson <erickerick...@gmail.com> > wrote: > >> 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 >> <greenhorntec...@gmail.com> wrote: >> > 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 shards >> to >> > index the document after sometime or how is scenario addressed? >> > >> > Also, given the above context, when I set the value of min_rf parameter >> to >> > say 2, does that mean the calling application will be informed that the >> > indexing failed? >>