Do you commit to often? Slaves won't replicate if while master is indexing if you don't send commits. Can you only commit once the indexing finishes?
On Monday 14 March 2011 14:04:51 lame wrote: > Hi guys, > I have master slave replication enabled. Slave is replicating every 3 > minutes and I encourage problems while I'm performing full import > command on master (which takes about 7 minutes). > Slave repliacates partial index about 200k documents out of 700k. > After next repliacation full index is replicated successfully. > We wrote simple scripts which check how many docs are indexed both on > master and slave and turns out that at the same time while slave has > partial index - master has not been reload yet and has all documents > (from previous full index). > My question is what is the best way to avoid partial index on slaves - > Should I disable replication while indexing master or should i use > core swaping? > > Thanks. -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350