Debian Codegraph @

mysql-test/suite/group_replication/r/gr_server_failover_while_dml.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 [connection server1]
7 set sql_log_bin=0;
8 call mtr.add_suppression("Error in Log_event::read_log_event()");
9 set sql_log_bin=1;
10 CREATE TABLE t1(a int primary key);
11 CREATE PROCEDURE dml_operations()
12 BEGIN
13 declare x INT;
14 set x=1;
15 while x<300 do
16 insert into t1 values (x);
17 update t1 set a=x+300 where a=x;
18 delete from t1 where a<310;
19 set x=x+1;
20 end while;
21 end$$
22
23 ----call procedure----
24 call dml_operations();
25
26 [connection server_1]
27 # killing
28 # Kill and restart:--group_replication_local_address=GROUP_REPLICATION_LOCAL_ADDRESS --group_replication_group_seeds=GROUP_REPLICATION_GROUP_SEEDS --group_replication_group_name=GROUP_REPLICATION_GROUP_NAME
29 # restarting
30 [connection server1]
31 # CR_SERVER_LOST, CR_SERVER_GONE_ERROR
32 Got one of the listed errors
33 [connection server_1]
34 include/rpl_reconnect.inc
35 [connection server2]
36 # check that there are 2 members in the group
37 include/rpl_gr_wait_for_number_of_members.inc
38 [connection server_1]
39 include/start_group_replication.inc
40 include/rpl_sync.inc
41 include/diff_tables.inc [server_1:t1, server2:t1, server3:t1]
42 [connection server_3]
43 [connection server_1]
44 drop table t1;
45 drop procedure dml_operations;
46 include/group_replication_end.inc