Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_source_pos_wait_after_startup.result

raw
1 #
2 # Step 1: setup replication
3 #
4 include/master-slave.inc
5 Warnings:
6 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
7 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.
8 [connection master]
9 [connection slave]
10 CHANGE REPLICATION SOURCE TO SOURCE_CONNECT_RETRY=30, SOURCE_RETRY_COUNT=30;
11 include/start_slave.inc
12 [connection master]
13 create table t1 (a int);
14 Insert into t1 values(1);
15 drop table t1;
16 include/sync_slave_sql_with_master.inc
17 #
18 # Step 2: restart Master
19 #
20 [connection master]
21 include/rpl_restart_server.inc [server_number=1 gtids=on]
22 #
23 # Step 3: Wait on positions by setting ignore_gtids_on_sync= 1.
24 # The sync_slave_sql_with_master.inc will call SOURCE_POS_WAIT()
25 # internally verifying the fix.
26 #
27 [connection master]
28 include/sync_slave_sql_with_master.inc
29 include/rpl_end.inc