Debian Codegraph @

mysql-test/suite/group_replication/r/gr_crash_donor_server_continuously.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 SESSION sql_log_bin=0;
8 SET SESSION sql_log_bin=1;
9 SET sql_log_bin=0;
10 CREATE TABLE t1(a int primary key);
11 SET sql_log_bin=1;
12 include/start_and_bootstrap_group_replication.inc
13 [connection server2]
14 SET sql_log_bin=0;
15 CREATE TABLE t1(a int primary key);
16 SET sql_log_bin=1;
17 include/start_group_replication.inc
18 [connection server1]
19 CREATE PROCEDURE dml_operations()
20 BEGIN
21 declare x INT;
22 set x=1;
23 while x<600 do
24 insert into t1 values (x);
25 update t1 set a=x+600 where a=x;
26 delete from t1 where a<650;
27 set x=x+1;
28 end while;
29 end$$
30
31 ----call procedure----
32 call dml_operations();
33
34 include/rpl_sync.inc
35 [connection server3]
36 SET sql_log_bin=0;
37 CREATE TABLE t1(a int primary key);
38 SET sql_log_bin=1;
39 LOCK TABLES t1 READ;
40 [connection server_3]
41 SET SESSION sql_log_bin= 0;
42 call mtr.add_suppression("Plugin group_replication reported: 'There was an error when connecting to the donor server.*");
43 call mtr.add_suppression("For details please check performance_schema.replication_connection_status table and error log messages of Replica I/O for channel group_replication_recovery.");
44 call mtr.add_suppression("Replica I/O for channel 'group_replication_recovery': Source command COM_REGISTER_REPLICA failed: failed registering on source, reconnecting to try again.*");
45 SET SESSION sql_log_bin= 1;
46 include/start_group_replication.inc
47 [connection server_3]
48 [connection server3]
49 UNLOCK TABLES;
50 # 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
51 include/rpl_reconnect.inc
52 LOCK TABLES t1 READ;
53 include/start_group_replication.inc
54 [connection server_3]
55 [connection server3]
56 UNLOCK TABLES;
57 # 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
58 include/rpl_reconnect.inc
59 LOCK TABLES t1 READ;
60 include/start_group_replication.inc
61 [connection server_3]
62 [connection server3]
63 UNLOCK TABLES;
64 # 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
65 include/rpl_reconnect.inc
66 LOCK TABLES t1 READ;
67 include/start_group_replication.inc
68 [connection server_3]
69 [connection server3]
70 UNLOCK TABLES;
71 # 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
72 include/rpl_reconnect.inc
73 LOCK TABLES t1 READ;
74 include/start_group_replication.inc
75 [connection server_3]
76 [connection server3]
77 UNLOCK TABLES;
78 # 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
79 include/rpl_reconnect.inc
80 LOCK TABLES t1 READ;
81 include/start_group_replication.inc
82 [connection server3]
83 UNLOCK TABLES;
84 include/rpl_sync.inc
85 include/diff_tables.inc [server1:t1, server2:t1, server3:t1]
86 drop table t1;
87 drop procedure dml_operations;
88 include/group_replication_end.inc