config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/group_replication/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/r/gr_recovery_single_server.result

include/group_replication.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection server1]
############################################################
# 1. Stop SQL Threads on server2 so that all remote transactions
# are only queued on relay log. Execute some transactions on
# server1.
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
include/rpl_sync.inc
STOP SLAVE SQL_THREAD FOR CHANNEL "group_replication_applier";
INSERT INTO t1 VALUES (1);

################################################################
# 2. Wait until server2 receives and certifies the transaction.

############################################################
# 3. Make both members leave the group.
include/stop_group_replication.inc
include/stop_group_replication.inc

############################################################
# 4. Start Group Replication only on server2. Validate that
# Member state is RECOVERING, despite being the only group
# member, since it is applying group applier relay log.
LOCK TABLE t1 WRITE;
SET @debug_save= @@GLOBAL.DEBUG;
SET GLOBAL debug= 'd,group_replication_skip_read_mode';
include/start_group_replication.inc
UNLOCK TABLES;
include/gr_wait_for_member_state.inc
SET @@GLOBAL.DEBUG= @debug_save;

############################################################
# 5. Assert that server1 and server2 have the same data and
# GTID_EXECUTED.
include/assert.inc ['There is a value 1 in table t1 on server1']
include/assert.inc ['There is a value 1 in table t1 on server2']
include/assert.inc ['server2 GTID_EXECUTED must contain the 2 transactions plus 3 view changes']

############################################################
# 6. Clean up.
include/start_group_replication.inc
DROP TABLE t1;
include/group_replication_end.inc

Man Man