Bug #70895 | Replication failure for data from version 5.6 to 5.5 | ||
---|---|---|---|
Submitted: | 13 Nov 2013 11:47 | Modified: | 14 Nov 2013 17:05 |
Reporter: | Vivek Viswanathan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.6.14 | OS: | Linux (RHEL) |
Assigned to: | CPU Architecture: | Any | |
Tags: | ERROR: Error in Log_event::read_log_event(): 'Sanity check failed' |
[13 Nov 2013 11:47]
Vivek Viswanathan
[13 Nov 2013 16:07]
Peter Laursen
As far as I know, replication is not guaranteed to work if slave is *lesser* version than master. Peter (not a MySQL/Oracle person)
[13 Nov 2013 16:21]
Vivek Viswanathan
Many Thanks for your update Peter! If this is not treated as an issue/bug, then the minimum I would like to know is what has changed in version 5.6 which is not allowing the replicated SQL statements to be executed on version 5.5. Thanks and Regards, Vivek.
[13 Nov 2013 16:34]
Peter Laursen
Let the MySQL supporters details this. It is probably also documented. But to me it is logical that an old version cannot know about changes to the binlog of a newer version. So my best guess is that the reason 5.6 binlogs some details otherwise than 5.5 does. So much otherwise that 5.5 does not understand how to use a 5.6 binlog. In general I think you cannot expect old versions of any program to read files generated by newer versions. New versions can be made compatible with files generated by old versions (because when a new version is released, details of older versions are known, but when an old version was released, details of newer versions were not known - and could not possibly be).
[14 Nov 2013 16:20]
Peter Laursen
Also see http://bugs.mysql.com/bug.php?id=70879
[14 Nov 2013 17:05]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Replication from newer server to older one is not supported.