Bug #51129 | Backup and repl tests fail in mtr when using replicate_*_table option | ||
---|---|---|---|
Submitted: | 12 Feb 2010 1:49 | Modified: | 19 Feb 2010 14:53 |
Reporter: | Hema Sridharan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | mysql-5.5 | OS: | Any |
Assigned to: | Thava Alagu | CPU Architecture: | Any |
[12 Feb 2010 1:49]
Hema Sridharan
[12 Feb 2010 1:49]
Hema Sridharan
Test file
Attachment: rpl_backup_bug.test (application/test, text), 2.49 KiB.
[12 Feb 2010 1:50]
Hema Sridharan
Result file
Attachment: rpl_backup_bug.result (application/octet-stream, text), 3.10 KiB.
[12 Feb 2010 6:51]
Sveta Smirnova
Thank you for the report. Verified as described.
[12 Feb 2010 8:18]
Rafal Somla
Hema, It is not clear from the description if the rpl_backup_best test is run against a server with --replicate-do-table option enabled. If this is the case then it could be that the errors shown in the server log are expected - they are normal reaction to seeing a query which is filtered out by --replicate-* option or seeing an incident event. If I am right then the correct action would be to suppress these errors in test script.
[19 Feb 2010 14:53]
Thava Alagu
The failure is caused by the warning message that the additional tables have been filtered out at slave. There is no server issue. This failure can be fixed by suppressing following warning message in tests: [Warning] Slave: Slave SQL thread ignored the query because of replicate-*-table rules Error_code: 1237
[19 Feb 2010 15:39]
Thava Alagu
Also note that the call to add the suppression of warning message should be done from each connection which generates these warning messages (See Bug#46996). Adding following lines for this test should work: connection slave; # Add suppression for expected warning(s) in slaves error log call mtr.add_suppression("Slave: Slave SQL thread ignored the query because of replicate-.*-table rules Error_code: 1237");