Bug #45902 rpl_sp fails sporadically in check testcases
Submitted: 2 Jul 2009 10:36 Modified: 9 Jul 2009 12:22
Reporter: Matthias Leich Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Replication Severity:S3 (Non-critical)
Version:5.0,5.1,5.4 OS:Any
Assigned to: CPU Architecture:Any

[2 Jul 2009 10:36] Matthias Leich
Description:
PB2
- mysql-5.1-bugteam
- push 2009-07-01 14:37:11
- linux x86_64 max
--------------------------
rpl_sp fails on check testcases with
--- .../check-mysqld_2.result
+++ .../check-mysqld_2.reject
@@ -499,7 +499,7 @@
 mysql.help_keyword     0
 mysql.help_relation    0
 mysql.host     0
-mysql.proc     2566476545
+mysql.proc     2744531066
 mysql.procs_priv       0
 mysql.tables_priv      0
 mysql.time_zone        2420313365

So we seem to have a not dropped
function or procedure on slave
(I assume mysqld_2 is the slave) side.

Experiments:
1. ./mtr --suite=rpl --mysqld=--binlog-format=mixed \
      --repeat=20 --check-testcases rpl_sp
   ...
   Several times error like above
   Check of testcase failed for: rpl.rpl_sp

2. Add "sync_slave_with_master" at the end of the test
   All 20 tests pass check testcases.

The "sync_slave_with_master" is also in 5.0, 5.4 missing

How to repeat:
See above

Suggested fix:
See above
[2 Jul 2009 11:19] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/77760

2790 Matthias Leich	2009-07-02
      Fix for Bug#45902 rpl_sp fails sporadically in check testcases
      Details:
      - Add "sync_slave_with_master" at test end
      - Restore the initial value of log_bin_trust_function_creators
[2 Jul 2009 11:49] Bernt Marius Johnsen
Ok to push
[3 Jul 2009 8:40] Matthias Leich
Pushed to
mysql-6.0-bugteam
mysql-5.1-bugteam
mysql-5.0-bugteam
[7 Jul 2009 7:52] Bugs System
Pushed into 5.0.84 (revid:joro@sun.com-20090707074938-ksah1ibn0vs92cem) (version source revid:matthias.leich@sun.com-20090702112212-0ac3w2eriz3mr6oy) (merge vers: 5.0.84) (pib:11)
[8 Jul 2009 13:30] Bugs System
Pushed into 5.1.37 (revid:joro@sun.com-20090708131116-kyz8iotbum8w9yic) (version source revid:bernt.johnsen@sun.com-20090703083334-4mmotptrkcpa3skh) (merge vers: 5.1.37) (pib:11)
[9 Jul 2009 7:35] Bugs System
Pushed into 5.0.84 (revid:joro@sun.com-20090707074938-ksah1ibn0vs92cem) (version source revid:matthias.leich@sun.com-20090702112212-0ac3w2eriz3mr6oy) (merge vers: 5.0.84) (pib:11)
[9 Jul 2009 7:36] Bugs System
Pushed into 5.1.37 (revid:joro@sun.com-20090708131116-kyz8iotbum8w9yic) (version source revid:bernt.johnsen@sun.com-20090703083334-4mmotptrkcpa3skh) (merge vers: 5.1.37) (pib:11)
[9 Jul 2009 12:22] Jon Stephens
Test changes only, nothing for user docs, closed.
[10 Jul 2009 11:20] Bugs System
Pushed into 5.4.4-alpha (revid:anozdrin@bk-internal.mysql.com-20090710111017-bnh2cau84ug1hvei) (version source revid:matthias.leich@sun.com-20090702134814-h1jjv0a6hjc3h6kd) (merge vers: 5.4.4-alpha) (pib:11)
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[26 Aug 2009 13:46] Bugs System
Pushed into 5.1.37-ndb-6.3.27 (revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (version source revid:jonas@mysql.com-20090826105955-bkj027t47gfbamnc) (merge vers: 5.1.37-ndb-6.3.27) (pib:11)
[26 Aug 2009 13:48] Bugs System
Pushed into 5.1.37-ndb-6.2.19 (revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (version source revid:jonas@mysql.com-20090825194404-37rtosk049t9koc4) (merge vers: 5.1.37-ndb-6.2.19) (pib:11)
[27 Aug 2009 16:32] Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090827163030-6o3kk6r2oua159hr) (version source revid:jonas@mysql.com-20090826132541-yablppc59e3yb54l) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)