Debian Codegraph @

mysql-test/suite/rpl/r/parallel_backup_xa_debug.result

raw
1 include/master-slave.inc
2 [connection master]
3 connection master;
4 CREATE TABLE t (a INT) ENGINE = innodb;
5 connection slave;
6 include/stop_slave.inc
7 SET STATEMENT sql_log_bin= 0 FOR ALTER TABLE mysql.gtid_slave_pos ENGINE=InnoDB;
8 SET @old_parallel_threads= @@GLOBAL.slave_parallel_threads;
9 SET @old_parallel_mode = @@GLOBAL.slave_parallel_mode;
10 SET @@global.slave_parallel_threads= 2;
11 SET @@global.slave_parallel_mode = 'optimistic';
12 connection master;
13 # MDEV-35110
14 SET @@gtid_seq_no=100;
15 insert into t set a=1;
16 xa start 'x';
17 insert into t set a=2;
18 xa end 'x';
19 xa prepare 'x';
20 connection slave;
21 SET @@global.debug_dbug="+d,hold_worker_on_schedule";
22 start slave;
23 SET debug_sync = 'now WAIT_FOR reached_pause';
24 connection slave1;
25 backup stage start;
26 backup stage block_commit;
27 connection slave;
28 SET debug_sync = 'now SIGNAL continue_worker';
29 SET debug_sync = RESET;
30 connection slave1;
31 backup stage end;
32 connection master;
33 xa rollback 'x';
34 connection slave;
35 # Clean up.
36 connection slave;
37 include/stop_slave.inc
38 SET @@global.debug_dbug="";
39 SET @@global.slave_parallel_threads= @old_parallel_threads;
40 SET @@global.slave_parallel_mode = @old_parallel_mode;
41 include/start_slave.inc
42 connection server_1;
43 DROP TABLE t;
44 include/rpl_end.inc