Debian Codegraph @

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

raw
1 include/group_replication.inc [rpl_server_count=2]
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 [connection server1]
7 include/start_and_bootstrap_group_replication.inc
8 [connection server2]
9 SET SQL_LOG_BIN=0;
10 call mtr.add_suppression("site definition is null");
11 SET SQL_LOG_BIN=1;
12 include/start_group_replication.inc
13 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
14 include/rpl_sync.inc
15 [connection server2]
16 # Kill and restart
17 [connection server_1]
18 include/gr_wait_for_member_state.inc
19 include/rpl_reconnect.inc
20 [connection server_2]
21 SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER2";
22 SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER2";
23 SET @@global.group_replication_group_name="GROUP_REPLICATION_GROUP_NAME";
24 [connection server_1]
25 include/rpl_gr_wait_for_number_of_members.inc
26 INSERT INTO t1 VALUES (1);
27 [connection server1]
28 include/rpl_gr_wait_for_number_of_members.inc
29 include/assert.inc [t1 does not have 2 inserted into it yet]
30 include/assert.inc [server 2 is marked as unreachable]
31 include/assert.inc [group_replication_force_members is correct]
32 include/rpl_gr_wait_for_number_of_members.inc
33 include/assert.inc [No more unreachable servers in the P_S table.]
34 [connection server_1]
35 [connection server1]
36 include/rpl_gr_wait_for_number_of_members.inc
37 include/assert.inc [Server 1 must be present on group members]
38 include/assert.inc [The value of view_id must be random:3]
39 [connection server1]
40 INSERT INTO t1 VALUES (2);
41 include/assert.inc ['There are two values in table t1']
42 [connection server2]
43 include/start_group_replication.inc
44 [connection server1]
45 include/rpl_sync.inc
46 include/rpl_gr_wait_for_number_of_members.inc
47 [connection server2]
48 include/rpl_gr_wait_for_number_of_members.inc
49 include/diff_tables.inc [server1:test.t1,server2:test.t1]
50 [connection server1]
51 DROP table t1;
52 include/group_replication_end.inc