Does a "clean" mean issuing a deletion query (e.g. 
<delete><id>*:*</id></delete>) prior to re-indexing all of your content?  I 
don't think the slaves will download any changes until you've committed at some 
point on the master.  If you delete everything and then commit, and proceed to 
re-index, then the slaves will pick that up at some point, perhaps sooner than 
you'd like.

If you expect the slaves to continue to serve queries during this process, then 
don't commit on the master until you want the slaves to be aware of what you've 
done.  If it's more complicated where you're going to perform multiple commits 
on the master, or shut it down and remove the data files etc., then I think it 
makes sense to turn off replication during that interval. Once you're happy 
with your update on the master, then enable replication again.

Cheers,

Jeff

On Apr 27, 2012, at 3:59 PM, geeky2 wrote:

> hello all,
> 
> i am just getting replication going on our master and two (2) slaves.
> 
> from time to time, i may need to do a complete re-index and clean on the
> master.
> 
> should replication on the slave - remain On or Off during a full clean and
> re-index on the Master?
> 
> thank you,
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/should-slave-replication-be-turned-off-on-during-master-clean-and-re-index-tp3945531p3945531.html
> Sent from the Solr - User mailing list archive at Nabble.com.



--
Jeff Schmidt
535 Consulting
j...@535consulting.com
http://www.535consulting.com
(650) 423-1068









Reply via email to