Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.11.17
-
None
-
Can result in unexpected behaviour
Description
The test for MDEV-25284 may have passed because START SLAVE deletes the relay log in GTID mode, which is Issue MDEV-4698.
This test fails in MDEV-4698’s build or when non-GTID mode bypasses this limitation.
Test
--- a/mysql-test/suite/rpl/t/rpl_change_master_find_log_pos_err.test
|
+++ b/mysql-test/suite/rpl/t/rpl_change_master_find_log_pos_err.test
|
@@ -30,7 +30,7 @@
|
--source include/stop_slave.inc
|
SET @@debug_dbug="d,simulate_find_log_pos_error";
|
error 1373;
|
-CHANGE MASTER TO IGNORE_DOMAIN_IDS=(1), MASTER_USE_GTID=SLAVE_POS;
|
+CHANGE MASTER TO MASTER_USE_GTID=NO;
|
SET @@debug_dbug="";
|
--source include/start_slave.inc |
Result
sql/log.cc:2828: int check_binlog_magic(IO_CACHE*, const char**): Assertion `my_b_tell(log) == 0' failed.
|
...
|
in check_binlog_magic at sql/log.cc:2828
|
in init_relay_log_pos at sql/rpl_rli.cc:716
|
in handle_slave_sql at sql/slave.cc:5620
|
Attachments
Issue Links
- blocks
-
MDEV-4698 With GTID replication, relay logs cannot be relied upon while purging binary logs on master
-
- In Progress
-
- is part of
-
MDEV-25284 Assertion `info->type == READ_CACHE || info->type == WRITE_CACHE' failed
-
- Closed
-