I have set up cron jobs that update my index every 15 minutes. I have a
distributed setup, so the steps are:
1. Update index on indexer machine (and possibly optimize)
2. Invoke snapshooter on indexer
3. Invoke snappuller on searcher
4. Invoke snapinstaller on searcher.

These updates are small, don't optimize, and take at most 2 minutes (end to
end). 

Nightly (or weekly or monthly), I will want to optimize my index. When I
optimize, the end-to-end time jumps to ~1 hour. With my current cron job
setup, that means I'll trigger 3 more unoptimized updates before the
optimized update completes. 

What happens if I overlap the execution of my cron jobs? Do any of these
scripts detect that another instance is already executing? 

Thanks.
-- 
View this message in context: 
http://www.nabble.com/Overlapping-Replication-Scripts-tp21362434p21362434.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to