Hi,

I have a deployment with 2 indexers (2 cores in a single servlet container),
and a farm of searchers that replicate from one of the indexers. Once in a
while I need to re-index all my data, so I do that on my second indexer
(while my original indexer still gets incremental updates), then swap my
indexer cores. What's the condition that slaves check before replicating the
master's data? I'm concerned that if it's purely based on index version or
generation number, then my new index may appear older than the old one, and
the searchers won't synchronize to it. I haven't been able to simulate the
scenario I'm afraid of yet (searchers always seem to replicate after I swap
cores), but I want to make sure I'm not just getting lucky. I realize I
could force each searcher to synchronize with command=fetchindex, but I'd
prefer to set something on the indexer than on each searcher.


I'm using Solr 1.4 and using built-in replication via ReplicationHandler.

Thanks,

Wojtek
-- 
View this message in context: 
http://old.nabble.com/Replication-Condition-%28Swapping-indexers%29-tp27154809p27154809.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to