1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

MDEV-6364: Migrate a slave from MySQL 5.6 to MariaDB 10 break replication

MySQL 5.6 implemented WL#344, which is about a MASTER_DELAY option to CHANGE
MASTER. But as part of this worklog, the format of the realy-log.info file was
changed. The new format is not understood by earlier versions, and nor by
MariaDB 10.0, so changing server to those versions would cause the slave to
abort with an error due to reading incorrect data out of relay-log.info.

Fix this by backporting from the WL#344 patch just the code that understands
the new relay-log.info format. We still write out the old format, and none of
the MASTER_DELAY feature is backported with this commit.
This commit is contained in:
Kristian Nielsen
2014-06-24 14:43:08 +02:00
parent e0c8d729a2
commit 312219cc63
11 changed files with 213 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
5
.\slave-relay-bin.000001
4
0
0

View File

@@ -0,0 +1,6 @@
5
./slave-relay-bin.000001
4
0
0

View File

@@ -0,0 +1,4 @@
.\slave-relay-bin.000001
4
0

View File

@@ -0,0 +1,4 @@
./slave-relay-bin.000001
4
0