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 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/group_replication/r/gr_concurrent_stop_select.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. Block Stop Group Replication SET @debug_save= @@GLOBAL.DEBUG; SET @@GLOBAL.DEBUG= '+d,group_replication_wait_on_stop'; STOP GROUP_REPLICATION; # 2. Wait for debug sync to be reached and then execute select query [connection server_1] SET DEBUG_SYNC= "now WAIT_FOR signal.stop_waiting"; SELECT COUNT(*) FROM performance_schema.replication_connection_status; COUNT(*) 2 # 3. SIGNAL STOP GR to resume processing SET DEBUG_SYNC= 'now SIGNAL signal.stop_continue'; [connection server1] # 4. Confirm Group Replication is stopped include/gr_wait_for_member_state.inc # 5. Cleanup SET @@GLOBAL.DEBUG= @debug_save; include/group_replication_end.inc