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_lock_tables_unblock.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] CREATE TABLE t1 (i INT PRIMARY KEY); include/rpl_sync.inc include/stop_group_replication.inc INSERT INTO t1 VALUES(1); # Add lock tables here to block setting super_read_only mode on server. LOCK TABLE t1 WRITE; # Start GR on the server. It should be blocked as we have a table locked. START GROUP_REPLICATION; # Ensure that the server is actually blocked while setting the # super_read_only mode. [connection server_1_1] UNLOCK TABLES; include/gr_wait_for_member_state.inc # Add ASSERT to check that the recovery passes successfully and a row # is inserted. include/assert.inc [There should be one row inserted in the table.] # Cleanup DROP TABLE t1; include/group_replication_end.inc