List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:July 17 2008 3:30pm
Subject:bzr commit into mysql-5.1 branch (aelkin:2705) Bug#34647
View as plain text  
#At file:///home/andrei/MySQL/BZR/FIXES/5.1-bt-bug34647-rpl_temporary_1more_dump_threads/

 2705 Andrei Elkin	2008-07-17
      Bug #34647 rpl_temporary discovers more than one dump thread and fails to select
      
      The test failure was due to unexpected presense of an old inactive instance of 
      the dump thread.
      
      Fixed adding synchronization barrier to ensure there is no stale dump 
      thread after reset master.
modified:
  mysql-test/suite/rpl/t/rpl_temporary.test

per-file messages:
  mysql-test/suite/rpl/t/rpl_temporary.test
    adding synchronization barrier to ensure there is no stale dump thread after reset master.
=== modified file 'mysql-test/suite/rpl/t/rpl_temporary.test'
--- a/mysql-test/suite/rpl/t/rpl_temporary.test	2008-03-12 12:07:35 +0000
+++ b/mysql-test/suite/rpl/t/rpl_temporary.test	2008-07-17 15:30:38 +0000
@@ -18,6 +18,12 @@ save_master_pos;
 connection slave;
 sync_with_master;
 reset master;
+# wait till dump thread has left
+--disable_warnings
+let $wait_condition= SELECT COUNT(*) = 0 from information_schema.processlist where command='Binlog Dump';
+source include/wait_condition.inc;
+--enable_warnings
+
 connection master;
 
 connect (con1,localhost,root,,);

Thread
bzr commit into mysql-5.1 branch (aelkin:2705) Bug#34647Andrei Elkin17 Jul