Debian Codegraph @

mysql-test/suite/rpl_gtid/r/rpl_sql_delay.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 CHANGE REPLICATION SOURCE TO SOURCE_DELAY= 7;
8 include/start_slave.inc
9 include/assert.inc [Assert that the desired delay from performance_schema is same as set in the Change master to command.]
10 include/assert.inc [Assert that the sql_delay in show slave status is same as set in the Change master to command.]
11 [connection master]
12 CREATE TABLE t1 (a INT);
13 [connection slave]
14 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
15 [connection master]
16 include/sync_slave_sql_with_master.inc
17 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
18 [connection master]
19 [connection slave]
20 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
21 [connection master]
22 INSERT INTO t1 VALUES (1);
23 [connection slave]
24 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
25 [connection master]
26 include/sync_slave_sql_with_master.inc
27 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
28 [connection master]
29 [connection slave]
30 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
31 [connection master]
32 UPDATE t1 SET a=2;
33 [connection slave]
34 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
35 [connection master]
36 include/sync_slave_sql_with_master.inc
37 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
38 [connection master]
39 [connection slave]
40 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
41 [connection master]
42 DELETE FROM t1 WHERE a=2;
43 [connection slave]
44 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
45 [connection master]
46 include/sync_slave_sql_with_master.inc
47 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
48 [connection master]
49 [connection slave]
50 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
51 [connection master]
52 START TRANSACTION;
53 INSERT INTO t1 VALUES (1);
54 INSERT INTO t1 VALUES (2);
55 INSERT INTO t1 VALUES (3);
56 COMMIT;
57 [connection slave]
58 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
59 [connection master]
60 include/sync_slave_sql_with_master.inc
61 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
62 [connection master]
63 [connection slave]
64 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
65 [connection master]
66 DROP TABLE t1;
67 [connection slave]
68 include/assert.inc [Assert that the REMAINING_DELAY from performance_schema is same as SQL_Remaining_Delay in the output of show slave status.]
69 [connection master]
70 include/sync_slave_sql_with_master.inc
71 include/assert.inc [Status should not be 'Waiting until SOURCE_DELAY seconds after source executed event']
72 [connection master]
73 [connection slave]
74 include/assert.inc [The difference between the immediate_commit_timestamp should be at least the SQL_Delay]
75 [connection master]
76 [connection slave]
77 include/stop_slave_sql.inc
78 CHANGE REPLICATION SOURCE TO SOURCE_DELAY= 0;
79 include/start_slave_sql.inc
80 [connection master]
81 include/rpl_end.inc