Turn off all autocommitting.. On 3/14/11 7:04 AM, "lame" <l...@o2.pl> 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.