Bug #40926 | rpl.rpl_truncate_falcon fails in Pushbuild due to wrong binlog-format being used | ||
---|---|---|---|
Submitted: | 21 Nov 2008 15:30 | Modified: | 11 Dec 2008 14:27 |
Reporter: | John Embretsen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Tests: Replication | Severity: | S7 (Test Cases) |
Version: | 6.0.9-bzr | OS: | Any |
Assigned to: | John Embretsen | CPU Architecture: | Any |
Tags: | falcon, pushbuild, test failure |
[21 Nov 2008 15:30]
John Embretsen
[21 Nov 2008 16:30]
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/59573 2915 John H. Embretsen 2008-11-21 Bug#40926, Bug#40927, Bug#40930: Disabling rpl falcon tests that fail in Pushbuild until failures have been properly analyzed and possibly fixed. rpl.rpl_extraCol_falcon: Fails on Windows in Pushbuild 2 during STOP SLAVE (bug 40930). rpl.rpl_relay_space_falcon: Fails in Pushbuild due to binlog-format settings (bug 40927). rpl.rpl_truncate_falcon: Fails in Pushbuild due to binlog-format settings (bug 40926).
[27 Nov 2008 16:36]
John Embretsen
Test failed in this configuration due to the sourced helper script (mysql-test/extra/rpl_tests/rpl_truncate_helper.test) setting the variable BINLOG_FORMAT without resetting it at the end of the test. This practically 'disabled' the check for correct binlog-format (row) in rpl_truncate_falcon, and made the test run with binlog-format 'statement' on the slave server. There may be a 'deeper' issue at play here (wrt. test configurations and option precedence in relation to replication tests), but adding variable cleanup to the helper script is in any case a healthy change that seems to make the test (and rpl suite) pass in the configurations used in Pushbuild. See also Bug#38350 "Many tests don't clean up after themselves on exit". My intention is to provide a cleanup patch for this in the mysql-6.0-falcon-team branch, because related fixes that are in the mysql-6.0-rpl branch may take a while to make their way into 6.0 main.
[27 Nov 2008 17:42]
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/60095 2921 John H. Embretsen 2008-11-27 Fix for Bug#40926 - rpl.rpl_truncate_falcon fails in Pushbuild due to wrong binlog-format being used. Related to bug 40927 and bug 38350. Test failed due to BINLOG_FORMAT variable being set in sourced helper script. Making the helper script (rpl_truncate_helper.test) clean up after itself seems to resolve this issue. Adjusting affected result files for all three storage engines (falcon, innodb, myisam).
[1 Dec 2008 8:12]
John Embretsen
Patch pushed to mysql-6.0-falcon-team bzr branch. Date: 2008-11-28 13:56:05 UTC Revision: john.embretsen@sun.com-20081127173934-r8fxrt1pytgya6w7
[11 Dec 2008 14:20]
Bugs System
Pushed into 6.0.9-alpha (revid:john.embretsen@sun.com-20081127173934-r8fxrt1pytgya6w7) (version source revid:hky@sun.com-20081205164847-vbocpvlyf6fbxkkj) (pib:5)
[11 Dec 2008 14:27]
Paul DuBois
Test case changes. No changelog entry needed.