List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:February 16 2001 1:44am
Subject:Re: Re: Replication Bug in 3.23.33
View as plain text  
On Thursday 15 February 2001 18:50, Rodolfo Sikora wrote:
>Does this problem exist in 3.23.32??
>
>
>
>>
>>Thanks for the bug report. The problem is a bug in the code that skips 
events 
>>when it sees a log entry with the same server id - something that can only 
>>happen in the bi-directional replicaiton setup. Fix:
>>
>>--- 1.85/sql/slave.cc	 Sat Jan 27 15:33:30 2001
>>+++ edited/slave.cc	 Wed Feb 14 12:35:34 2001
>>@@ -849,7 +849,8 @@
>> 
>>	mi->inc_pos(event_len);
>>	flush_master_info(mi);
>>-	--slave_skip_counter;
>>+	if(slave_skip_counter)
>>+	  --slave_skip_counter;
>>	delete ev;
>>	return 0;					 // avoid infinite 
>>update loops
>>     } 								       
>

This one does not, but there is a bigger one - restarting the slave does not 
work. 

-- 
MySQL Development Team
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <sasha@stripped>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  
Thread
Viewing all data typesJonathan A. Zdziarski25 Mar
  • Re: Re: Replication Bug in 3.23.33Sasha Pachev16 Feb
Re: Re: Replication Bug in 3.23.33Rodolfo Sikora16 Feb