Debian Codegraph @

mysql-test/suite/group_replication/r/gr_xa_rollback_failure_after_rotate.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 include/suppress_messages.inc
8 # Connection 1 suppresses message <Found .* prepared XA transactions>.
9 # Connection 1 suppresses message <.*Checksum mismatch in datafile.*>.
10 # Connection 2 suppresses message <Found .* prepared XA transactions>.
11 # Connection 2 suppresses message <.*Checksum mismatch in datafile.*>.
12 # Connection 3 suppresses message <Found .* prepared XA transactions>.
13 # Connection 3 suppresses message <.*Checksum mismatch in datafile.*>.
14 [connection server1]
15 include/start_and_bootstrap_group_replication.inc
16 CREATE TABLE t1 (c1 INT PRIMARY KEY);
17 XA START X'78696431',X'',1;
18 INSERT INTO t1 VALUES (2);
19 XA END X'78696431',X'',1;
20 XA PREPARE X'78696431',X'',1;
21 XA COMMIT X'78696431',X'',1;
22 [connection server2]
23 include/save_sysvars.inc [ "GLOBAL.group_replication_member_expel_timeout" ]
24 SET GLOBAL group_replication_member_expel_timeout = 0;
25 include/start_group_replication.inc
26 include/save_binlog_position.inc
27 [connection server3]
28 include/save_sysvars.inc [ "GLOBAL.group_replication_member_expel_timeout" ]
29 SET GLOBAL group_replication_member_expel_timeout = 0;
30 include/start_group_replication.inc
31 [connection server1]
32 include/save_binlog_position.inc
33 XA START X'78696431',X'',1;
34 INSERT INTO t1 VALUES (1);
35 XA END X'78696431',X'',1;
36 XA PREPARE X'78696431',X'',1;
37 [connection server1]
38 include/rpl_sync.inc
39 FLUSH LOGS;
40 PURGE BINARY LOGS TO 'BINLOG_FILE';
41 include/save_binlog_position.inc
42 include/execute_to_conditional_timestamp_sync_point.inc [before_rollback_xa_trx]
43 XA ROLLBACK X'78696431',X'',1;
44 # Kill the server
45 ERROR HY000: Lost connection to MySQL server during query
46 [connection server2]
47 include/rpl_gr_wait_for_number_of_members.inc
48 # 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 --group_replication_start_on_boot=OFF --group_replication_single_primary_mode=TRUE --group_replication_enforce_update_everywhere_checks=FALSE
49 include/rpl_reconnect.inc
50 [connection server1]
51 include/assert.inc [Found 1 log message(s) for "Successfully prepared 1 XA transaction"]
52 include/assert_binlog_events.inc [()]
53 include/assert.inc [GTID_EXECUTED has not been updated]
54 include/assert.inc [1 XA transaction(s) in PREPARED state]
55 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
56 include/assert.inc [Table 'test.t1' record count must be 1]
57 [connection server2]
58 include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT # Gtid # Query/XA START X'78696431',X'',1 # Table_map # Write_rows # Query/XA END X'78696431',X'',1 # XA_prepare/XA PREPARE X'78696431',X'',1]
59 include/assert.inc [1 XA transaction(s) in PREPARED state]
60 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
61 include/assert.inc [Table 'test.t1' record count must be 1]
62 [connection server1]
63 # 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 --group_replication_start_on_boot=OFF --group_replication_single_primary_mode=TRUE --group_replication_enforce_update_everywhere_checks=FALSE
64 include/rpl_reconnect.inc
65 include/assert.inc [1 XA transaction(s) in PREPARED state]
66 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
67 [connection server1]
68 include/save_binlog_position.inc
69 include/start_group_replication.inc
70 [connection server2]
71 include/rpl_gr_wait_for_number_of_members.inc
72 [connection server1]
73 include/assert_binlog_events.inc [Gtid # Query/BEGIN # View_change # Query/COMMIT]
74 include/assert.inc [1 XA transaction(s) in PREPARED state]
75 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
76 include/gr_find_a_primary.inc
77 XA ROLLBACK X'78696431',X'',1;
78 include/rpl_sync.inc
79 [connection server1]
80 include/assert.inc [Table 'test.t1' record count must be 1]
81 DROP TABLE t1;
82 [connection server2]
83 include/restore_sysvars.inc
84 [connection server3]
85 include/restore_sysvars.inc
86 include/group_replication_end.inc