Re: How to stop a new slave from serving request until it has replicated index the first time.

2019-02-07 Thread Erick Erickson
Unless you have a specific reason to use master/slave, SolrCloud (in this case only one shard probably) will make this kind of thing easier. This is the equivalent of ADDREPLICA. Also, the TLOG and PULL replica types (as of Solr 7) are something of a hybrid of master/slave and SolrCloud. FWIW,

Re: How to stop a new slave from serving request until it has replicated index the first time.

2019-02-06 Thread Shawn Heisey
On 2/6/2019 9:13 AM, Pushkar Raste wrote: In the master/slave setup, as soon as I start a new slave it starts to serve request. Often the searches result in no documents being found as index has not been replicated yet. Is there a way to stop replica from serving request (marking node unhealthy)

How to stop a new slave from serving request until it has replicated index the first time.

2019-02-06 Thread Pushkar Raste
Hi, In the master/slave setup, as soon as I start a new slave it starts to serve request. Often the searches result in no documents being found as index has not been replicated yet. Is there a way to stop replica from serving request (marking node unhealthy) until the index is replicated for the