Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_gtid_xa_rollback_failure_after_rotate.result

raw
1 include/master-slave.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 master]
6 [connection master]
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 CREATE TABLE t1 (c1 INT PRIMARY KEY);
13 XA START X'78696431',X'',1;
14 INSERT INTO t1 VALUES (2);
15 XA END X'78696431',X'',1;
16 XA PREPARE X'78696431',X'',1;
17 XA COMMIT X'78696431',X'',1;
18 include/sync_slave_sql_with_master.inc
19 include/save_binlog_position.inc
20 [connection master]
21 include/sync_slave_sql_with_master.inc
22 [connection master1]
23 XA START X'78696431',X'',1;
24 INSERT INTO t1 VALUES (1);
25 XA END X'78696431',X'',1;
26 XA PREPARE X'78696431',X'',1;
27 [connection master]
28 include/sync_slave_sql_with_master.inc
29 FLUSH LOGS;
30 PURGE BINARY LOGS TO 'BINLOG_FILE';
31 include/save_binlog_position.inc
32 include/execute_to_conditional_timestamp_sync_point.inc [before_rollback_xa_trx]
33 XA ROLLBACK X'78696431',X'',1;
34 [connection slave]
35 # Kill the server
36 # restart:--skip-replica-start
37 include/rpl_reconnect.inc
38 include/assert.inc [Found 1 log message(s) for "Successfully prepared 1 XA transaction"]
39 [connection slave]
40 include/assert_binlog_events.inc [()]
41 include/assert.inc [GTID_EXECUTED has not been updated]
42 include/assert.inc [1 XA transaction(s) in PREPARED state]
43 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
44 include/assert.inc [Table 'test.t1' record count must be 1]
45 # restart:--skip-replica-start
46 include/rpl_reconnect.inc
47 include/assert.inc [1 XA transaction(s) in PREPARED state]
48 include/assert.inc [XA transaction X'78696431',X'',1 is in PREPARED state]
49 include/start_slave.inc
50 [connection master]
51 include/sync_slave_sql_with_master.inc
52 include/assert.inc [Table 'test.t1' record count must be 1]
53 include/assert.inc [No XA transactions in PREPARED state]
54 [connection master]
55 DROP TABLE t1;
56 include/rpl_end.inc