| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
*** MDEV-13831: Assertion on event group missing XID/COMMIT event |
| 4 |
connection slave; |
| 5 |
include/stop_slave.inc |
| 6 |
CHANGE MASTER TO Master_use_gtid= No; |
| 7 |
include/start_slave.inc |
| 8 |
connection master; |
| 9 |
SET @old_legacy= @@GLOBAL.binlog_legacy_event_pos; |
| 10 |
SET GLOBAL binlog_legacy_event_pos= 1; |
| 11 |
CREATE TABLE t1 (a INT) ENGINE=InnoDB; |
| 12 |
INSERT INTO t1 VALUES (1); |
| 13 |
connection master1; |
| 14 |
SET @old_dbug= @@SESSION.debug_dbug; |
| 15 |
SET SESSION debug_dbug = '+d,fail_binlog_write_1'; |
| 16 |
UPDATE t1 SET a = 2; |
| 17 |
ERROR HY000: Error writing file 'master-bin' (errno: 28 "No space left on device") |
| 18 |
SET debug_dbug= @old_dbug; |
| 19 |
DROP TEMPORARY TABLE t1; |
| 20 |
ERROR 42S02: Unknown table 'test.t1' |
| 21 |
connection master; |
| 22 |
CREATE TEMPORARY TABLE t1 (i INT) ENGINE=InnoDB; |
| 23 |
connection slave; |
| 24 |
connection master; |
| 25 |
SET GLOBAL binlog_legacy_event_pos= @old_legacy; |
| 26 |
CALL mtr.add_suppression("Error writing file.*No space left on device"); |
| 27 |
DROP TEMPORARY TABLE t1; |
| 28 |
DROP TABLE t1; |
| 29 |
include/rpl_end.inc |