Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_change_master_relay_log_purge.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 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.
5 [connection master]
6 FLUSH BINARY LOGS;
7 include/sync_slave_sql_with_master.inc
8
9 We now stop the IO thread and ensure that the relaylog files
10 are not deleted on doing a change master with a running SQL thread.
11
12 include/stop_slave_io.inc
13 CHANGE REPLICATION SOURCE TO SOURCE_HEARTBEAT_PERIOD= 10;
14 include/assert.inc [The relaylog file should not change if change master command was executed while SQL thread was running.]
15
16 We now stop the SQL thread and ensure that the relaylog files
17 are not deleted on doing a change master with a running IO thread.
18
19 include/stop_slave_sql.inc
20 include/start_slave_io.inc
21 CHANGE REPLICATION SOURCE TO SOURCE_DELAY= 20;
22 include/assert.inc [The relaylog file should not change if change master command was executed while IO thread was running.]
23
24 If the relay_log_file and relay_log_pos options are used, we dont purge
25 relaylogs.
26
27 include/stop_slave_io.inc
28 CHANGE REPLICATION SOURCE TO RELAY_LOG_FILE= 'RELAY_LOG_FILE';
29 CHANGE REPLICATION SOURCE TO RELAY_LOG_POS= RELAY_LOG_POS;
30 include/assert.inc [The relaylog file should not change if change master command contained relay_log_file or relay_log_pos option.]
31
32 With both the threads stopped and no use of relay_log_file or
33 relay_log_pos options, the relaylogs should be deleted.
34
35 CHANGE REPLICATION SOURCE TO SOURCE_HEARTBEAT_PERIOD= 20;
36 include/assert.inc [With both the threads stopped and no use of relay_log_file or relay_log_pos options in change master command, the relaylogs should be deleted.]
37
38 cleanup
39
40 include/start_slave.inc
41 include/rpl_end.inc