Bug #61420 Crash in replication event.
| Submitted: | 6 Jun 2011 8:20 | Modified: | 10 Feb 2012 16:06 |
|---|---|---|---|
| Reporter: | Alan Hollis | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
| Version: | 5.5.8-log MySQL Community Server (GPL) | OS: | Windows (server 2008r2) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | compatible_with, replication, table_def | ||
[6 Jun 2011 8:20]
Alan Hollis
[6 Jun 2011 8:42]
Alan Hollis
I think this could be due to a corrupt bin log. Looking through the file using mysqlbinlog.exe" --start-position=87605047 --stop-position=967616447 ptsrv15-relay-bin.000414 I get /*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; # at 4 #110511 15:56:50 server id 4 end_log_pos 107 Start: binlog v 4, server v 5.5.8-log created 110511 15:56:50 BINLOG ' sqPKTQ8EAAAAZwAAAGsAAAAAAAQANS41LjgtbG9nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAVAAEGggAAAAICAgCAA== '/*!*/; # at 150 #110526 9:15:48 server id 3 end_log_pos 107 Start: binlog v 4, server v 5.5.8-log created 110526 9:15:48 BINLOG ' NAzeTQ8DAAAAZwAAAGsAAAAAAAQANS41LjgtbG9nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAVAAEGggAAAAICAgCAA== '/*!*/; ERROR: Error in Log_event::read_log_event(): 'Sanity check failed', data_len: 1800, event_type: 100 ERROR: Could not read entry at offset 87605047: Error in log format or read error. DELIMITER ; # End of log file ROLLBACK /* added by mysqlbinlog */; /*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
[8 Jun 2011 19:30]
Sveta Smirnova
Thank you for the report. This looks very similar to bug #47103 fix for which was not actually ported to 5.5 series (I will create new bug report about this problem). Could you please run mysqlbinlog --verbose on problem relay log so we can see SQL statements and confirm these are same?
[8 Jun 2011 19:53]
Sveta Smirnova
See also bug #61450
[14 Jun 2011 14:19]
Alan Hollis
As requested: c:\mysqllogbackup>"c:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlbinlog.exe" --verbose --start-position=87605047 --st op-position=967616447 ptsrv15-relay-bin.000414 /*!40019 SET @@session.max_insert_delayed_threads=0*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; # at 4 #110511 15:56:50 server id 4 end_log_pos 107 Start: binlog v 4, server v 5.5.8-log created 110511 15:56:50 BINLOG ' sqPKTQ8EAAAAZwAAAGsAAAAAAAQANS41LjgtbG9nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAVAAEGggAAAAICAgCAA== '/*!*/; # at 150 #110526 9:15:48 server id 3 end_log_pos 107 Start: binlog v 4, server v 5.5.8-log created 110526 9:15:48 BINLOG ' NAzeTQ8DAAAAZwAAAGsAAAAAAAQANS41LjgtbG9nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAEzgNAAgAEgAEBAQEEgAAVAAEGggAAAAICAgCAA== '/*!*/; ERROR: Error in Log_event::read_log_event(): 'Sanity check failed', data_len: 1800, event_type: 100 ERROR: Could not read entry at offset 87605047: Error in log format or read error. DELIMITER ; # End of log file ROLLBACK /* added by mysqlbinlog */; /*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/; Any help? I've backed up all the relay logs around that time and am more than happy to help where I can. Cheers Alan
[10 Feb 2012 16:06]
Valeriy Kravchuk
Duplicate of bug #61450
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.057 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.