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_transaction_compatibility_basics.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]
[connection server2]
SET SESSION sql_log_bin= 0;
call mtr.add_suppression(".*This member has more executed transactions *.*");
call mtr.add_suppression(".*The member contains transactions not present *.*");
SET SESSION sql_log_bin= 1;
#
# Setup the first member
#
[connection server1]
include/start_and_bootstrap_group_replication.inc
CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
include/assert.inc [The first member has 3 transaction belonging to the group]
#
# Verify that server 2 can't enter the group
# Verify that error messages are logged.
#
[connection server2]
SET GTID_NEXT= "aaaaaaaa-bbbb-aaaa-bbbb-aaaaaaaaaaaa:1";
CREATE TABLE t2 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
SET GTID_NEXT= "AUTOMATIC";
include/assert.inc [The member shall contain a local transaction]
SET GLOBAL group_replication_group_name= "c645abc0-ebb9-11e5-a837-0800200c9a66";
START GROUP_REPLICATION;
ERROR HY000: The server is not configured properly to be an active member of the group. Please see more details on error log.
Matching lines are:
DATE_TIME [ERROR] Plugin group_replication reported: 'This member has more executed transactions than those present in the group. Local transactions: aaaaaaaa-bbbb-aaaa-bbbb-aaaaaaaaaaaa:1 > Group transactions: c645abc0-ebb9-11e5-a837-0800200c9a66:1-3'
Occurrences of 'This member has more executed transactions than those present in the group. Local transactions' in the input file: 1
Matching lines are:
DATE_TIME [ERROR] Plugin group_replication reported: 'The member contains transactions not present in the group. The member will now exit the group.'
Occurrences of 'The member contains transactions not present in the group. The member will now exit the group.' in the input file: 1
#
# Test the basics for group_replication_allow_local_disjoint_gtids_join
#
include/assert.inc [The default value of allow_local_disjoint_gtids_join should be 0/OFF]
SET GLOBAL group_replication_allow_local_disjoint_gtids_join= NULL;
ERROR 42000: Variable 'group_replication_allow_local_disjoint_gtids_join' can't be set to the value of 'NULL'
SET GLOBAL group_replication_allow_local_disjoint_gtids_join= "a";
ERROR 42000: Variable 'group_replication_allow_local_disjoint_gtids_join' can't be set to the value of 'a'
SET GLOBAL group_replication_allow_local_disjoint_gtids_join= 1.2;
ERROR 42000: Incorrect argument type to variable 'group_replication_allow_local_disjoint_gtids_join'
SET GLOBAL group_replication_allow_local_disjoint_gtids_join= 1;
Warnings:
Warning	1681	'group_replication_allow_local_disjoint_gtids_join' is deprecated and will be removed in a future release.
include/assert.inc [The value of allow_local_disjoint_gtids_join should now be 1/ON]
#
# Test that server 2 can now join
#
[connection server1]
include/rpl_gr_wait_for_number_of_members.inc
[connection server2]
include/start_group_replication.inc
Warnings:
Warning	1681	'group_replication_allow_local_disjoint_gtids_join' is deprecated and will be removed in a future release.
#
# Verify all is fine
#
[connection server1]
INSERT INTO t1 VALUES (2);
include/sync_slave_sql_with_master.inc
include/assert.inc ['There are two values in table t1']
#
# Cleaning up
#
[connection server1]
include/stop_group_replication.inc
include/start_group_replication.inc
[connection server2]
SET GLOBAL group_replication_allow_local_disjoint_gtids_join= 0;
Warnings:
Warning	1681	'group_replication_allow_local_disjoint_gtids_join' is deprecated and will be removed in a future release.
DROP TABLE t1;
DROP TABLE t2;
include/group_replication_end.inc

Man Man