Debian Codegraph @

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

raw
1 include/group_replication.inc [rpl_server_count=3]
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 server1
7 include/start_and_bootstrap_group_replication.inc
8 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
9 BEGIN;
10 INSERT INTO t1 VALUES (1);
11 INSERT INTO t1 VALUES (2);
12 COMMIT;
13 INSERT INTO t1 VALUES (3);
14 server2
15 include/start_group_replication.inc
16 include/rpl_gr_wait_for_number_of_members.inc
17 CHANGE REPLICATION SOURCE TO SOURCE_HOST="127.0.0.1", SOURCE_USER="root", SOURCE_PASSWORD="", SOURCE_PORT=SERVER_3_PORT, SOURCE_AUTO_POSITION=1 FOR CHANNEL "channel_1";
18 include/assert.inc ['The group replication applier channel is present']
19 include/assert.inc ['The slave channel is present']
20 RESET SLAVE ALL;
21 ERROR HY000: RESET REPLICA ALL FOR CHANNEL cannot be performed on channel 'group_replication_applier'.
22 include/assert.inc ['The group replication applier channel is still present']
23 include/assert.inc ['The group replication applier channel is ON']
24 include/assert.inc ['The slave channel is not present']
25 RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
26 ERROR HY000: RESET REPLICA [ALL] FOR CHANNEL cannot be performed on channel 'group_replication_applier'.
27 include/stop_group_replication.inc
28 RESET SLAVE ALL FOR CHANNEL "group_replication_applier";
29 Warnings:
30 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
31 include/assert.inc ['The group replication applier channel is not present']
32 server2
33 INSERT INTO t1 VALUES (4);
34 server1
35 include/start_group_replication.inc
36 INSERT INTO t1 VALUES (5);
37 include/rpl_sync.inc
38 include/assert.inc [The table should contain 5 elements]
39 server2
40 Vefiry that group replication channels are present
41 include/assert.inc ['The group replication applier channel is present']
42 include/assert.inc ['The group replication recovery channel is present']
43 include/stop_group_replication.inc
44 RESET SLAVE command clears master and slave info repositories and will flush master info
45 RESET SLAVE;
46 Warnings:
47 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
48 include/assert.inc ['mysql.slave_relay_log_info contains flushed group replication channel information']
49 include/assert.inc ['mysql.slave_master_info contains flushed group replication channel information']
50 include/start_group_replication.inc
51 include/assert.inc ['The group replication applier and recovery channel are present']
52 include/stop_group_replication.inc
53 RESET SLAVE ALL;
54 Warnings:
55 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
56 include/assert.inc ['mysql.slave_relay_log_info does not contrain group replication channel information']
57 include/assert.inc ['mysql.slave_master_info does not contrain group replication channel information']
58 CHANGE REPLICATION SOURCE TO SOURCE_USER="root" FOR CHANNEL "group_replication_recovery";
59 Warnings:
60 Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure.
61 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.
62 include/start_group_replication.inc
63 DROP TABLE t1;
64 include/group_replication_end.inc