Debian Codegraph @

mysql-test/suite/rpl/r/rpl_sync.result

raw
1 =====Configuring the enviroment=======;
2 include/master-slave.inc
3 Warnings:
4 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
5 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
6 [connection master]
7 call mtr.add_suppression('Attempting backtrace');
8 call mtr.add_suppression("Recovery from source pos [0-9]+ and file [a-zA-Z-]*\.*[0-9]* for channel ''*");
9 call mtr.add_suppression("Relay log recovery on channel with GTID_ONLY=1*");
10 call mtr.add_suppression("Binlog has bad magic number; It's not a binary log file that can be used by this version of MySQL");
11 CREATE TABLE t1(a INT, PRIMARY KEY(a)) engine=innodb;
12 insert into t1(a) values(1);
13 insert into t1(a) values(2);
14 insert into t1(a) values(3);
15 =====Inserting data on the master but without the SQL Thread being running=======;
16 include/sync_slave_sql_with_master.inc
17 include/stop_slave_sql.inc
18 insert into t1(a) values(4);
19 insert into t1(a) values(5);
20 insert into t1(a) values(6);
21 =====Removing relay log files and crashing/recoverying the slave=======;
22 include/stop_slave_io.inc
23 SET SESSION debug="+d,crash_before_rotate_relaylog";
24 FLUSH LOGS;
25 ERROR HY000: Lost connection to MySQL server during query
26 include/rpl_reconnect.inc
27 =====Dumping and comparing tables=======;
28 include/start_slave.inc
29 include/sync_slave_sql_with_master.inc
30 include/diff_tables.inc [master:t1,slave:t1]
31 =====Corrupting the master.info=======;
32 include/stop_slave.inc
33 FLUSH LOGS;
34 insert into t1(a) values(7);
35 insert into t1(a) values(8);
36 insert into t1(a) values(9);
37 SET SESSION debug="+d,crash_before_rotate_relaylog";
38 FLUSH LOGS;
39 ERROR HY000: Lost connection to MySQL server during query
40 include/rpl_reconnect.inc
41 =====Dumping and comparing tables=======;
42 include/start_slave.inc
43 include/sync_slave_sql_with_master.inc
44 include/diff_tables.inc [master:t1,slave:t1]
45 =====Clean up=======;
46 drop table t1;
47 include/rpl_end.inc