include/group_replication.inc [rpl_server_count=3] Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. 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. [connection server1] server2 include/start_and_bootstrap_group_replication.inc CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB; INSERT INTO t1 VALUES (1); server1 include/start_group_replication.inc include/rpl_gr_wait_for_number_of_members.inc include/stop_group_replication.inc INSERT INTO t1 VALUES (2); INSERT INTO t1 VALUES (3); LOCK TABLE t1 READ; include/start_group_replication.inc STOP SLAVE; Warnings: Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead Note 3084 Replication thread(s) for channel '' are already stopped. include/assert.inc ['The group replication recovery channel is ON'] SET GLOBAL SUPER_READ_ONLY=0; 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"; Warnings: Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. 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. include/assert.inc ['The slave channel is present'] RESET SLAVE ALL; ERROR HY000: RESET REPLICA ALL FOR CHANNEL cannot be performed on channel 'group_replication_applier'. include/assert.inc ['The group replication recovery channel is present'] include/assert.inc ['The group replication recovery channel is ON'] include/assert.inc ['The slave channel is not present'] 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"; Warnings: Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. 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. include/start_slave.inc include/assert.inc ['The created slave channel is ON'] # Kill and restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS include/rpl_reconnect.inc [connection server2] include/gr_wait_for_member_state.inc include/rpl_gr_wait_for_number_of_members.inc [connection server1] include/wait_for_slave_to_start.inc [FOR CHANNEL 'channel_1'] include/assert.inc ['The group replication recovery channel is present'] include/assert.inc ['The group replication recovery channel is OFF'] include/assert.inc ['The created slave channel is ON'] DROP TABLE t1; include/stop_slave.inc CHANGE REPLICATION SOURCE TO SOURCE_AUTO_POSITION=0 FOR CHANNEL "channel_1"; include/start_group_replication.inc include/group_replication_end.inc