Debian Codegraph @

mysql-test/suite/group_replication/r/gr_recovery_donor_failover.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 #
7 # Setup a new 2 member group
8 #
9 SET SESSION sql_log_bin = 0;
10 call mtr.add_suppression("Replica SQL for channel 'group_replication_applier': Relay log read failure: Could not parse relay log event entry.*");
11 call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group.");
12 call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group.");
13 call mtr.add_suppression("The server was automatically set into read only mode after an error was detected.");
14 call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going.");
15 SET SESSION sql_log_bin = 1;
16 include/start_and_bootstrap_group_replication.inc
17 include/rpl_gr_wait_for_number_of_members.inc
18 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY) ENGINE=InnoDB;
19 INSERT INTO t1 VALUES (1);
20 SET SESSION sql_log_bin = 0;
21 call mtr.add_suppression("Replica SQL for channel 'group_replication_applier': Relay log read failure: Could not parse relay log event entry.*");
22 call mtr.add_suppression("The applier thread execution was aborted. Unable to process more transactions, this member will now leave the group.");
23 call mtr.add_suppression("Fatal error during execution on the Applier process of Group Replication. The server will now leave the group.");
24 call mtr.add_suppression("The server was automatically set into read only mode after an error was detected.");
25 call mtr.add_suppression("Skipping leave operation: concurrent attempt to leave the group is on-going.");
26 SET SESSION sql_log_bin = 1;
27 include/start_group_replication.inc
28 include/rpl_gr_wait_for_number_of_members.inc
29 SET @@GLOBAL.DEBUG='+d,block_applier_updates';
30 SET @@GLOBAL.DEBUG='+d,block_applier_updates';
31 #
32 # Start recovery on a new member and kill the donor
33 #
34 SET SESSION sql_log_bin= 0;
35 call mtr.add_suppression(".*Error when configuring the asynchronous recovery channel connection *.*");
36 SET SESSION sql_log_bin= 1;
37 include/start_group_replication.inc
38 # Find if server 1 or 2 is the donor
39 # Stop group replication on the donor making it leave the group
40 SET DEBUG_SYNC = "now WAIT_FOR applier_read_blocked";
41 SET @@GLOBAL.DEBUG='-d,block_applier_updates';
42 SET @@GLOBAL.DEBUG='+d,force_sql_thread_error';
43 SET DEBUG_SYNC = "now SIGNAL resume_applier_read";
44 include/gr_wait_for_member_state.inc
45 SET @@GLOBAL.DEBUG='-d,force_sql_thread_error';
46 SET DEBUG_SYNC= 'RESET';
47 include/stop_group_replication.inc
48 # Unblock recovery and watch the member go online despite the donor exit
49 SET DEBUG_SYNC = "now WAIT_FOR applier_read_blocked";
50 SET @@GLOBAL.DEBUG='-d,block_applier_updates';
51 SET DEBUG_SYNC = "now SIGNAL resume_applier_read";
52 include/gr_wait_for_member_state.inc
53 include/assert.inc [On the recovered member, the table should exist and have 1 elements;]
54 include/assert.inc [On the recovered member, the executed GTID should be the same as on the donor plus the view changes]
55 #
56 # Cleaning up
57 #
58 SET DEBUG_SYNC= 'RESET';
59 include/start_group_replication.inc
60 DROP TABLE t1;
61 include/group_replication_end.inc