Debian Codegraph @

mysql-test/suite/group_replication/r/gr_certifier_message_same_member.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 SET @debug_save= @@GLOBAL.DEBUG;
7 SET @@GLOBAL.DEBUG= '+d,certifier_inject_duplicate_certifier_data_message';
8 include/start_and_bootstrap_group_replication.inc
9 include/start_group_replication.inc
10 ############################################################
11 # Execute a transaction on the server1 which is propagated to the
12 # second server and applied on both of them.
13 CREATE TABLE t1(i INT PRIMARY KEY);
14 include/rpl_sync.inc
15 # Start the first round of garbage collection here. Since we have set the DBUG
16 # flag on the second server we expect a message to be logged in the error log
17 # as the same member sent the message.
18 # Transactions_committed_all_members has 1 transaction from when server 2 joined
19 # No more info should have been received.
20 include/assert.inc [Transactions committed on all members should only contain 1 transaction]
21 INSERT INTO t1 VALUES(1);
22 # Checking that the garbage collection is working fine.
23 SET @@GLOBAL.DEBUG= @debug_save;
24 DROP TABLE t1;
25 include/group_replication_end.inc