rpl_incident.result 627 Bytes
Newer Older
1 2
include/master-slave.inc
[connection master]
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
**** On Master ****
CREATE TABLE t1 (a INT);
INSERT INTO t1 VALUES (1),(2),(3);
SELECT * FROM t1;
a
1
2
3
REPLACE INTO t1 VALUES (4);
SELECT * FROM t1;
a
1
2
3
4
18
call mtr.add_suppression("Slave SQL.*The incident LOST_EVENTS occured on the master.* 1590");
19 20
include/wait_for_slave_sql_error.inc [errno=1590]
Last_SQL_Error = 'The incident LOST_EVENTS occured on the master. Message: <none>'
21 22 23 24 25 26 27 28 29 30 31 32 33 34
**** On Slave ****
SELECT * FROM t1;
a
1
2
3
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
START SLAVE;
SELECT * FROM t1;
a
1
2
3
4
35
include/check_slave_is_running.inc
36
DROP TABLE t1;
37
include/rpl_end.inc