Fix bug 1606478 (rpl.rpl_extra_col_master_myisam test unstable on 5.5) #700
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
rpl_extra_col_master_myisam test fails on 5.5 with
rpl.rpl_extra_col_master_myisam 'row' w4 [ fail ] Found warnings/errors in server log file!
...
160719 21:13:07 [Warning] Slave I/O: SET @master_heartbeat_period to master failed with error: Lost connection to MySQL server during query, Error_code: 2013
...
^ Found warnings in /mnt/workspace/percona-server-5.5-trunk/BUILD_TYPE/debug/Host/ubuntu-precise-64bit/mysql-test/var/4/log/mysqld.2.err
...
The likely cause is the test doing
START SLAVE;
followed almost immediately by
STOP SLAVE;
as START SLAVE is async command, it might not be fully completed by
the time STOP SLAVE comes, getting killed by it, and resulting in the
above warning.
Fix by partially backporting [1], which uses rpl_reset.inc, which
waits synchronously for START SLAVE to complete.
[1]:
commit 82320f9
Author: Sven Sandberg sven.sandberg@oracle.com
Date: Mon Dec 19 11:41:54 2011 +0100
http://jenkins.percona.com/job/percona-server-5.5-param/1263/