Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_ps_worker_start_slave.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 slave]
7 call mtr.add_suppression(".*worker thread retried transaction 5 time.*");
8 call mtr.add_suppression(".*The replica coordinator and worker threads are stopped, possibly leaving data in inconsistent state.*");
9 SET @saved_replica_parallel_workers= @@GLOBAL.replica_parallel_workers;
10 SET @saved_innodb_lock_wait_timeout = @@GLOBAL.innodb_lock_wait_timeout;
11 SET @saved_replica_transaction_retries = @@GLOBAL.replica_transaction_retries;
12 SET GLOBAL replica_transaction_retries = 5;
13 SET GLOBAL innodb_lock_wait_timeout = 2;
14 [connection master]
15 CREATE TABLE t1 (a INT UNIQUE);
16 include/sync_slave_sql_with_master.inc
17 BEGIN;
18 INSERT INTO t1 VALUES (1);;
19 [connection master]
20 INSERT INTO t1 VALUES (1);;
21 [connection slave]
22 include/wait_for_slave_sql_to_stop.inc
23 ROLLBACK;
24 include/start_slave_sql.inc
25 [connection master]
26 include/sync_slave_sql_with_master.inc
27 include/assert.inc [Confirm that we are checking the correct transaction]
28 include/assert.inc [Start apply timestamp must be more recent after start slave to prove that the transaction info was reset]
29 include/stop_slave.inc
30 SET GLOBAL replica_parallel_workers = 1;
31 include/start_slave.inc
32 BEGIN;
33 INSERT INTO t1 VALUES (2);;
34 [connection master]
35 INSERT INTO t1 VALUES (2);;
36 [connection slave]
37 include/wait_for_slave_sql_to_stop.inc
38 ROLLBACK;
39 include/start_slave_sql.inc
40 [connection master]
41 include/sync_slave_sql_with_master.inc
42 include/assert.inc [Confirm that we are checking the correct transaction]
43 include/assert.inc [Start apply timestamp must be more recent after start slave to prove that the transaction info was reset]
44 include/stop_slave.inc
45 SET GLOBAL replica_parallel_workers = 1;
46 include/start_slave.inc
47 [connection master]
48 DROP TABLE t1;
49 include/sync_slave_sql_with_master.inc
50 include/stop_slave.inc
51 SET GLOBAL replica_parallel_workers = @saved_replica_parallel_workers;
52 include/start_slave.inc
53 SET GLOBAL innodb_lock_wait_timeout = @saved_innodb_lock_wait_timeout;
54 SET GLOBAL replica_transaction_retries = @saved_replica_transaction_retries;
55 include/rpl_end.inc