Debian Codegraph @

mysql-test/suite/group_replication/r/gr_stop_gr_during_dml_01.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 CREATE TABLE test.t1 ( a int primary key);
8 include/rpl_sync.inc
9 USE test;
10 CREATE PROCEDURE insert_into_t1()
11 BEGIN
12 declare x INT;
13 set x=1;
14 while x<500 do
15 insert into t1 values (x);
16 set x=x+1;
17 end while;
18 end$$
19
20 ----call procedure----
21 call insert_into_t1();
22
23 [connection server3]
24 ###### Stop the group replication on server3 ######
25 include/stop_group_replication.inc
26 [connection server1]
27 ####### Checking the member count having online status #######
28
29 [connection server2]
30 ####### Checking the member count having online status #######
31 CREATE TABLE test.t2 ( a int primary key);
32
33 [connection server3]
34 include/start_group_replication.inc
35 ##### validating the records in server3 #####
36 include/assert.inc ['Checking the number of records in test.t1']
37 include/assert.inc ['Checking the number of records in test.t2']
38 DROP TABLE test.t1;
39 DROP PROCEDURE insert_into_t1;
40 DROP TABLE test.t2;
41 include/group_replication_end.inc