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_stop_procedure_hang.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 server1] SET SESSION sql_log_bin= 0; call mtr.add_suppression("Transaction cannot be executed while Group Replication is stopping."); call mtr.add_suppression("Run function 'before_commit' in plugin 'group_replication' failed"); SET SESSION sql_log_bin= 1; CREATE TABLE test.t1 (a INT PRIMARY KEY); USE test; CREATE PROCEDURE insert_into_t1() BEGIN DECLARE x INT; SET x=1; WHILE x<200 DO INSERT INTO t1 VALUES (x); SET x=x+1; END WHILE; end$$ include/rpl_sync.inc [connection server1] SET @debug_save= @@GLOBAL.DEBUG; SET @@GLOBAL.DEBUG='d,group_replication_before_commit_hook_wait'; CALL insert_into_t1(); [connection server_1] STOP GROUP_REPLICATION; [connection server_1_1] SET DEBUG_SYNC='now SIGNAL continue_commit'; SET @@GLOBAL.DEBUG= @debug_save; [connection server1] ERROR HY000: Error on observer while running replication hook 'before_commit'. [connection server_1] include/gr_wait_for_member_state.inc include/assert_and_disable_read_only.inc include/rpl_sync.inc include/assert.inc [There are no local transactions.] [connection server2] include/assert.inc [There are no local transactions.] include/diff_tables.inc [server1:t1, server2:t1] [connection server1] DROP PROCEDURE insert_into_t1; DROP TABLE t1; [connection server2] DROP PROCEDURE insert_into_t1; DROP TABLE t1; include/stop_group_replication.inc include/group_replication_end.inc