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 |
Current File : //usr/opt/mysql57/mysql-test/suite/group_replication/r/gr_concurrent_start_uninstall.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. Setup GR environment and execute START GR. [connection server1] SET GLOBAL group_replication_bootstrap_group=ON; SET GLOBAL group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME"; # 2. Block start, so we can execute UNINSTALL. SET @debug_save= @@GLOBAL.DEBUG; SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_start'; START GROUP_REPLICATION; # 3. Execute UNINSTALL PLUGIN GR should fail with error # ER_PLUGIN_CANNOT_BE_UNINSTALLED as START GR is already running. [connection server_1] SET DEBUG_SYNC= "now WAIT_FOR signal.start_waiting"; UNINSTALL PLUGIN group_replication; ERROR HY000: Plugin 'group_replication' cannot be uninstalled now. Plugin is busy, it cannot be uninstalled. To force a stop run STOP GROUP_REPLICATION and then UNINSTALL PLUGIN group_replication. # 4. SIGNAL START GR to resume processing. SET DEBUG_SYNC= 'now SIGNAL signal.start_continue'; [connection server1] # 5. Confirm GR is started include/gr_wait_for_member_state.inc # 6. Cleanup SET @@GLOBAL.DEBUG= @debug_save; include/group_replication_end.inc