Debian Codegraph @

mysql-test/suite/group_replication/r/gr_acf_receiver_reset_channel.result

raw
1 include/group_replication.inc [rpl_server_count=4]
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 server1]
6
7 ############################################################
8 # 1. Deploy a group in single-primary mode on server1 and server2.
9 [connection server1]
10 include/start_and_bootstrap_group_replication.inc
11 include/gr_assert_primary_member.inc
12 [connection server2]
13 CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='root', SOURCE_AUTO_POSITION=1, SOURCE_CONNECTION_AUTO_FAILOVER=0, SOURCE_PORT=SERVER_4_PORT, SOURCE_CONNECT_RETRY=1, SOURCE_RETRY_COUNT=1 FOR CHANNEL 'ch1';
14 Warnings:
15 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
16 Note 1760 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.
17 include/start_group_replication.inc
18 include/gr_assert_secondary_member.inc
19
20 ############################################################
21 # 2. Configure and start a failover channel on server1 that
22 # replicates from server4.
23 [connection server4]
24 [connection server1]
25 CHANGE REPLICATION SOURCE TO SOURCE_HOST='127.0.0.1', SOURCE_USER='root', SOURCE_AUTO_POSITION=1, SOURCE_CONNECTION_AUTO_FAILOVER=1, SOURCE_PORT=SERVER_4_PORT, SOURCE_CONNECT_RETRY=1, SOURCE_RETRY_COUNT=1 FOR CHANNEL 'ch1';
26 Warnings:
27 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
28 Note 1760 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.
29 SELECT asynchronous_connection_failover_add_source('ch1', '127.0.0.1', SERVER_MYPORT_4, '', 50);;
30 asynchronous_connection_failover_add_source('ch1', '127.0.0.1', SERVER_MYPORT_4, '', 50)
31 The UDF asynchronous_connection_failover_add_source() executed successfully.
32 include/start_slave.inc [FOR CHANNEL 'ch1']
33
34 ############################################################
35 # 3. Validate server1 and server2 configuration.
36 [connection server1]
37 include/assert.inc ['There is 1 row in performance_schema.replication_asynchronous_connection_failover']
38 include/assert.inc ['The version of replication_asynchronous_connection_failover must be 1']
39 include/assert.inc ['SOURCE_CONNECTION_AUTO_FAILOVER must be enabled on ch1']
40 include/assert.inc [Verify channel ch1 IO_THREAD is ON and connected to server4]
41 include/assert.inc [Verify channel ch1 SQL_THREAD is ON]
42 include/assert.inc [Verify replica_monitor thread is running]
43 [connection server2]
44 include/assert.inc ['The version of replication_asynchronous_connection_failover must be 1']
45 include/assert.inc ['SOURCE_CONNECTION_AUTO_FAILOVER must be enabled on ch1']
46 include/assert.inc [Verify channel ch1 IO_THREAD is OFF]
47 include/assert.inc [Verify channel ch1 SQL_THREAD is OFF]
48 include/assert.inc [Verify replica_monitor thread is not running]
49
50 ############################################################
51 # 4. Stop and delete channel 'ch1' on server1 and server2.
52 [connection server2]
53 include/rpl_reset_slave.inc
54 [connection server1]
55 include/stop_slave.inc [FOR CHANNEL 'ch1']
56 include/rpl_reset_slave.inc
57 SELECT asynchronous_connection_failover_delete_source('ch1', '127.0.0.1', SERVER_MYPORT_4, '');;
58 asynchronous_connection_failover_delete_source('ch1', '127.0.0.1', SERVER_MYPORT_4, '')
59 The UDF asynchronous_connection_failover_delete_source() executed successfully.
60
61 ############################################################
62 # 5. Validate server1 and server2 configuration.
63 [connection server1]
64 include/assert.inc ['There are 0 rows in performance_schema.replication_asynchronous_connection_failover']
65 include/assert.inc ['The version of replication_asynchronous_connection_failover must be 2']
66 include/assert.inc ['Verify ch1 was deleted']
67 include/assert.inc [Verify replica_monitor thread is not running]
68 [connection server2]
69 include/assert.inc ['The version of replication_asynchronous_connection_failover must be 2']
70 include/assert.inc ['Verify ch1 was deleted']
71 include/assert.inc [Verify replica_monitor thread is not running]
72
73 ############################################################
74 # 6. Add server3 to the group.
75 [connection server3]
76 include/start_group_replication.inc
77 include/gr_assert_secondary_member.inc
78 include/assert.inc ['There are 0 rows in performance_schema.replication_asynchronous_connection_failover']
79 include/assert.inc ['The version of replication_asynchronous_connection_failover must be 2']
80 include/assert.inc ['Verify ch1 does noet exist']
81 include/assert.inc [Verify replica_monitor thread is not running]
82
83 ############################################################
84 # 7. Clean up.
85 [connection server3]
86 include/stop_group_replication.inc
87 [connection server2]
88 include/stop_group_replication.inc
89 [connection server1]
90 include/stop_group_replication.inc
91 include/group_replication_end.inc