Debian Codegraph @

mysql-test/suite/group_replication/r/gr_view_change_event_wait_break.result

raw
1 include/group_replication.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection server1]
6 #
7 # Setup a 2 member group and create a table
8 #
9 [connection server1]
10 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
11 include/rpl_sync.inc
12
13 # Lock writes on table t1
14
15 [connection server1]
16 LOCK TABLE t1 WRITE;
17 #
18 # On server2 execute a transaction and stop group replication.
19 #
20 [connection server2]
21 INSERT INTO t1 VALUES (1);
22 include/stop_group_replication.inc
23 #
24 # Stop group replication and check it stops after the unlock
25 #
26 [connection server_1_1]
27 STOP GROUP_REPLICATION;
28 [connection server1]
29 UNLOCK TABLES;
30 [connection server_1_1]
31 include/gr_wait_for_member_state.inc
32 #
33 # Clean
34 #
35 [connection server2]
36 include/start_and_bootstrap_group_replication.inc
37 DROP TABLE t1;
38 [connection server1]
39 include/start_group_replication.inc
40 include/group_replication_end.inc