include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
CREATE DATABASE db_1;
CREATE DATABASE db_2;
CREATE TABLE db_1.test_1 (id INTEGER) engine=Innodb;
CREATE TABLE db_2.test_1 (id INTEGER) engine=Innodb;
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
set @save.slave_parallel_workers= @@global.slave_parallel_workers;
set @save.debug= @@global.debug;
SET @@global.slave_parallel_workers= 2;
ALTER TABLE mysql.slave_relay_log_info ENGINE= Innodb;
ALTER TABLE mysql.slave_worker_info ENGINE= Innodb;
include/start_slave.inc
include/sync_slave_sql_with_master.inc
SET GLOBAL debug="d,mts_debug_concurrent_access";
INSERT INTO db_1.test_1 VALUES(1);
INSERT INTO db_2.test_1 VALUES(1);
DROP DATABASE db_1;
DROP DATABASE db_2;
include/sync_slave_sql_with_master.inc
include/stop_slave.inc
SET @@global.slave_parallel_workers= @save.slave_parallel_workers;
SET @@global.debug= @save.debug;
include/start_slave.inc
call mtr.add_suppression('Error reading slave worker configuration');
call mtr.add_suppression('Failed during slave workers initialization');
call mtr.add_suppression('Failed during slave worker thread create');
include/stop_slave.inc
set @save.slave_checkpoint_group= @@global.slave_checkpoint_group;
set @save.slave_parallel_workers= @@global.slave_parallel_workers;
set @save.debug= @@global.debug;
SET @@global.debug= "d,mts_worker_thread_fails";
set @@global.slave_parallel_workers= 2;
start slave sql_thread;
include/wait_for_slave_sql_error.inc [errno=1593]
set @@global.slave_checkpoint_group= @save.slave_checkpoint_group;
set @@global.slave_parallel_workers= @save.slave_parallel_workers;
set @@global.debug= @save.debug;
include/start_slave.inc
include/rpl_reset.inc
include/stop_slave.inc
call mtr.add_suppression("option 'slave_checkpoint_group': unsigned value 524281 adjusted to 524280");
call mtr.add_suppression("Failed during slave worker thread create");
call mtr.add_suppression("Slave SQL: Failed during slave workers initialization, Error_code: 1593");
call mtr.add_suppression("Mismatch between the number of bytes configured to store checkpoint information and the previously stored information");
set @save.slave_checkpoint_group= @@global.slave_checkpoint_group;
set @save.slave_parallel_workers= @@global.slave_parallel_workers;
SET @@global.slave_parallel_workers= 2;
SET @@global.slave_checkpoint_group=524281;
Warnings:
Warning	1292	Truncated incorrect slave_checkpoint_group value: '524281'
include/start_slave.inc
include/assert.inc [Assert that slave_checkpoint_group was truncated to a valid value.]
include/check_slave_is_running.inc
include/rpl_reset.inc
include/stop_slave.inc
SET @@global.debug= "d,inject_init_worker_init_info_fault";
START SLAVE SQL_THREAD;
include/wait_for_slave_sql_error.inc [errno=1593]
SET @@global.debug= @save.debug;
set @@global.slave_checkpoint_group= @save.slave_checkpoint_group;
set @@global.slave_parallel_workers= @save.slave_parallel_workers;
call mtr.add_suppression("Could not delete from Slave Workers info repository.");
include/stop_slave.inc
Warnings:
Note	1255	Slave already has been stopped
set @save.slave_parallel_workers= @@global.slave_parallel_workers;
set @@global.slave_parallel_workers= 2;
include/start_slave.inc
include/stop_slave.inc
set @@global.debug= "d,mts_debug_reset_workers_fails";
change master to RELAY_LOG_FILE=FILE,  RELAY_LOG_POS= POS;
ERROR HY000: Cannot clean up worker info tables. Additional error messages can be found in the MySQL error log.
set @@global.debug= "d,mts_debug_recovery_reset_fails";
start slave sql_thread;
include/wait_for_slave_sql_error.inc [errno=1593]
set @@global.debug= @save.debug;
set @@global.slave_parallel_workers= 2;
include/start_slave.inc
include/stop_slave.inc
call mtr.add_suppression("Error creating relay log info: Failed to initialize the worker info structure.");
set @@global.debug= "d,mts_slave_worker_init_at_gaps_fails";
start slave sql_thread;
ERROR HY000: Could not initialize master info structure; more error messages can be found in the MySQL error log
SET @@global.debug= "";
set @@global.slave_parallel_workers= @save.slave_parallel_workers;
include/start_slave.inc
include/rpl_reset.inc
include/rpl_end.inc
