Debian Codegraph @

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

raw
1 include/group_replication.inc
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 ############################################################
7 # Commit a transaction (T1) on server 1, that will be
8 # certified and applied on both members.
9 CREATE TABLE t1(i INT PRIMARY KEY);
10 include/rpl_sync.inc
11 # Wait for the first round of garbage collection to finish on server 1.
12 # Wait for the first round of garbage collection to finish on server 2.
13 # First round of garbage collection finished
14 ############################################################
15 # Block garbage collection on server 2.
16 include/stop_group_replication.inc
17 SET @debug_save= @@GLOBAL.DEBUG;
18 SET @@GLOBAL.DEBUG= '+d,certifier_garbage_collection_block';
19 include/start_group_replication.inc
20 ############################################################
21 # Commit a transaction (T2) on server 1, that will be
22 # certified and applied on both members.
23 INSERT INTO t1 VALUES(1);
24 include/rpl_sync.inc
25 # Wait for the second round of garbage collection to finish on server 1.
26 # Wait for the third round of garbage collection to finish on server 2.
27 # Round on which garbage collection will be unblocked.
28 SET @@GLOBAL.DEBUG= @debug_save;
29 DROP TABLE t1;
30 include/group_replication_end.inc