config root man

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

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/t/gr_concurrent_uninstall_start.test

# ==== Purpose ====
#
# Verify that 'UNINSTALL PLUGIN' and 'START GROUP_REPLICATION' commands
# run well in parallel.
#
# ==== Implementation ====
#
# 1. Configure two servers to be members of a group.
# 2. Starts and bootstraps a group on the current server.
# 3. UNINSTALL PLUGIN group_replication and start PLUGIN group_replication
#    in parallel.
#
# 4. INSTALL PLUGIN group_replication.
# 5. Shut down Group Replication.
#
# ==== References ====
#
# Bug #23853388  CRASH WHILE DESTROYING A LOCKED MUTEX ON PARALLEL UNINSTALL AND START GR CMD

--source include/force_restart.inc
--source ../inc/have_group_replication_plugin.inc
--let $rpl_skip_group_replication_start= 1
--source ../inc/group_replication.inc

--let $rpl_connection_name= server1
--source include/rpl_connection.inc

SET SESSION sql_log_bin= 0;
call mtr.add_suppression("Group Replication plugin is not installed.");
SET SESSION sql_log_bin= 1;

--source ../inc/start_and_bootstrap_group_replication.inc

--send UNINSTALL PLUGIN group_replication

--let $rpl_connection_name= server_1
--source include/rpl_connection.inc
--echo #
--echo # START GROUP_REPLICATION in parallel,
--echo #
--error ER_GROUP_REPLICATION_CONFIGURATION, ER_GROUP_REPLICATION_RUNNING
START GROUP_REPLICATION;

--let $rpl_connection_name= server1
--source include/rpl_connection.inc
--disable_warnings
--error 0, ER_PLUGIN_CANNOT_BE_UNINSTALLED
--reap

--replace_result $GROUP_REPLICATION GROUP_REPLICATION
--eval INSTALL PLUGIN group_replication SONAME '$GROUP_REPLICATION'
--enable_warnings

--source ../inc/group_replication_end.inc

Man Man