[MDEV-7315] Error in Log_event::read_log_event for mysql binlogs Created: 2014-12-13 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 5.5.40, 10.0 |
| Fix Version/s: | 10.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Z Toth | Assignee: | Kristian Nielsen |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | replication, upstream-fixed | ||
| Environment: |
Ubuntu 12.04 64 bit, |
||
| Description |
|
Slave: MariaDB, 5.5.40-tokudb-7.5.3-MariaDB-log MariaDB Server When the replication is started, it stops with the error:
Looking at the binlog file copied from the master, the MariaDB mysqlbinlog says:
Therefore, mariadb's mysqlbinlog stops before 3554:
Looking at the same file on the master with the MySQL version of mysqlbinlog, I can see the contents with no problem:
|
| Comments |
| Comment by Elena Stepanova [ 2014-12-15 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Hi, | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Z Toth [ 2014-12-17 ] | |||||||||||||||||||||||||||||||||||||||||||
|
I did so. The problematic binlog files are in binlog_errors.tgz . log-bin.000001: | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-12-22 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Thank you. So, the events in question relate to NDB (update NDB tables). mysqlbinlog from the normal non-ndb-cluster MySQL 5.5 also fails to read them. However, in MySQL 5.6 it works starting from MySQL 5.6.6, particularly from this revision:
So, I expect the fix might be merged into 10.0 if it is safe enough, otherwise in 10.1; but I doubt it's going to be fixed in 5.5. I also don't think that NDB => non-NDB replication is officially supported, so if the problem only affects this flow, it doesn't look too critical. | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Z Toth [ 2015-01-08 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Just for the record: |