Debian Codegraph @

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

raw
1 include/group_replication.inc [rpl_server_count=3]
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 include/start_and_bootstrap_group_replication.inc
7 [connection server2]
8 include/start_group_replication.inc
9 [connection server3]
10 include/start_group_replication.inc
11 #
12 # Crash the primary server
13 [connection server1]
14 include/gr_wait_primary_member_uuid.inc
15 # Kill and restart
16 include/rpl_reconnect.inc
17 [connection server_2]
18 # wait for number of alive members to be 2
19 include/rpl_gr_wait_for_number_of_members.inc
20 [connection server_3]
21 # wait for number of alive members to be 2
22 include/rpl_gr_wait_for_number_of_members.inc
23 [connection server_1]
24 SET @@global.group_replication_group_seeds="GROUP_SEEDS_SERVER1";
25 SET @@global.group_replication_local_address="LOCAL_ADDRESS_SERVER1";
26 SET @@global.group_replication_group_name="GROUP_REPLICATION_GROUP_NAME";
27 SET @@global.group_replication_enforce_update_everywhere_checks=0;
28 SET @@global.group_replication_single_primary_mode=1;
29 [connection server2]
30 include/stop_group_replication.inc
31 [connection server3]
32 include/gr_wait_primary_member_uuid.inc
33 CREATE TABLE test.t1 ( a int primary key);
34 INSERT INTO test.t1 VALUES(1);
35 [connection server2]
36 include/start_group_replication.inc
37 [connection server1]
38 include/start_group_replication.inc
39 include/gr_wait_primary_member_uuid.inc
40 [connection server3]
41 DROP TABLE test.t1;
42 include/group_replication_end.inc