config root man

Current Path : /home/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 : /home/usr.opt/mysql57/mysql-test/suite/group_replication/r/gr_readmode_on_autostart.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]
#
# Bootstrap group with server 1.
#
[connection server1]
include/start_and_bootstrap_group_replication.inc
#
# Restart group replication on server 2
# with group_replication_start_on_boot=1
#
[connection server2]
set session sql_log_bin=0;
call mtr.add_suppression("Error when activating super_read_only mode on start. The member will now exit the group.");
call mtr.add_suppression("Transaction cannot be executed while Group Replication is on ERROR state.*");
call mtr.add_suppression("Run function 'before_commit' in plugin 'group_replication' failed*");
call mtr.add_suppression("The member is leaving a group without being on one");
call mtr.add_suppression("The group replication user is not present in the server. The user will be recreated, please do not remove it");
call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going.");
call mtr.add_suppression("On plugin shutdown it was not possible to enable the server read only mode.*");
set session sql_log_bin=1;
SET @debug_save= @@GLOBAL.DEBUG;
# restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_start_on_boot=1 --group_replication_ip_whitelist=GROUP_REPLICATION_GROUP_WHITELIST
include/rpl_reconnect.inc
include/gr_wait_for_member_state.inc
#
# Add some data to server 1.
#
[connection server1]
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
include/rpl_sync.inc
#
# On server 2 uninstall and install the plugin with auto start.
# With debug set to group_replication_read_mode_error it should fail.
#
[connection server2]
UNINSTALL PLUGIN group_replication;
SET @@GLOBAL.DEBUG='d,group_replication_read_mode_error';
INSTALL PLUGIN group_replication SONAME 'GROUP_REPLICATION';
include/gr_wait_for_member_state.inc
#
# Check that we cannot execute transactions
#
INSERT INTO t1 VALUES (2);
ERROR HY000: Error on observer while running replication hook 'before_commit'.
include/stop_group_replication.inc
#
# On server 2 after restarting GR all should be fine.
#
SET @@GLOBAL.DEBUG= @debug_save;
include/start_group_replication.inc
INSERT INTO t1 VALUES (2);
[connection server1]
#
# Clean up
#
DROP TABLE t1;
include/group_replication_end.inc

Man Man