List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 12 2011 7:24pm
Subject:bzr push into mysql-trunk branch (andrei.elkin:3488 to 3489) Bug#13033076
View as plain text  
 3489 Andrei Elkin	2011-10-12
      Bug#13033076 - OCCASIONAL CRASH OF RPL.RPL_PARALLEL_DDL
      
      This is an exploratory patch containing pure test's changes
      to get some info out of pb runs.
      The failure is not necessary crash and ends on non-wins with 
      errno 17 out of mkdir. That makes to think of a garbage left
      in a database dir.
     @ mysql-test/suite/rpl/r/rpl_parallel_ddl.result
        results updated.
     @ mysql-test/suite/rpl/t/rpl_parallel_ddl.test
        Added print-out after rename on the slave to search for
        possible garbage files.

    modified:
      mysql-test/suite/rpl/r/rpl_parallel_ddl.result
      mysql-test/suite/rpl/t/rpl_parallel_ddl.test
 3488 Sergey Glukhov	2011-10-12 [merge]
      automerge

=== modified file 'mysql-test/suite/rpl/r/rpl_parallel_ddl.result'
--- a/mysql-test/suite/rpl/r/rpl_parallel_ddl.result	2011-08-19 13:04:28 +0000
+++ b/mysql-test/suite/rpl/r/rpl_parallel_ddl.result	2011-10-12 19:23:12 +0000
@@ -260,5 +260,747 @@ include/diff_tables.inc [master:d1.t4, s
 include/diff_tables.inc [master:d1.t3, slave:d1.t3]
 include/diff_tables.inc [master:d1.t2, slave:d1.t2]
 include/diff_tables.inc [master:d1.t1, slave:d1.t1]
+"database d32:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d31:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t4.MYD
+t4.MYI
+t4.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d30:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d29:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d28:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d27:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d26:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d25:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d24:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d23:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d22:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d21:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d20:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d19:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d18:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d17:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d16:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d15:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d14:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d13:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d12:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d11:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d10:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d9:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d8:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
+"database d7:"
+db.opt
+t1.M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+t8.frm
+"database d1:"
+db.opt
+t1.MYD
+t1.MYI
+t1.frm
+t2.MYD
+t2.MYI
+t2.frm
+t3.MYD
+t3.MYI
+t3.frm
+t4.MYD
+t4.MYI
+t4.frm
+t5.MYD
+t5.MYI
+t5.frm
+t6.MYD
+t6.MYI
+t6.frm
+t7.MYD
+t7.MYI
+t7.frm
+t8.MYD
+t8.MYI
+t8.frm
 set @@global.slave_parallel_workers= @save.slave_parallel_workers;
 include/rpl_end.inc

=== modified file 'mysql-test/suite/rpl/t/rpl_parallel_ddl.test'
--- a/mysql-test/suite/rpl/t/rpl_parallel_ddl.test	2011-08-19 13:04:28 +0000
+++ b/mysql-test/suite/rpl/t/rpl_parallel_ddl.test	2011-10-12 19:23:12 +0000
@@ -208,7 +208,8 @@ dec $n1;
 let $n2= $n1;
 dec $n2;
 let $tables_2_rename= ;
-let $m= `select floor(rand()*$tables) + 1`;
+#let $m= `select floor(rand()*$tables) + 1`;
+let $m= `select floor($tables/2)`;
 
 while ($n2)
 {
@@ -230,6 +231,18 @@ eval rename table $tables_2_rename d$n.t
 
 --enable_query_log
 
+#
+# Hunting after bug#13033076.
+# Let's see if rename leaves any garbage after its run
+#
+sync_slave_with_master;
+let $MYSQLD_DATADIR= `SELECT @@datadir`;
+while ($n)
+{
+  echo "database d$n:";
+  --list_files $MYSQLD_DATADIR/d$n
+  dec $n;
+}
 
 
 #

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk branch (andrei.elkin:3488 to 3489) Bug#13033076Andrei Elkin13 Oct