List:General Discussion« Previous MessageNext Message »
From:Rodolfo Sikora Date:February 16 2001 1:50am
Subject:Re: Re: Replication Bug in 3.23.33
View as plain text  
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
>     } 								       
>		     






---------------------------------------
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