Bug #93783 Incomplete statement from binary log file
| Submitted: | 2 Jan 2019 13:50 | Modified: | 3 Jan 2019 10:31 |
|---|---|---|---|
| Reporter: | Nicolas Moreau | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
| Version: | 5.7.22 | OS: | Linux (debian 9) |
| Assigned to: | CPU Architecture: | x86 | |
| Tags: | replication binlog | ||
[2 Jan 2019 13:50]
Nicolas Moreau
[3 Jan 2019 10:31]
MySQL Verification Team
Hello Nicolas, Thank you for the report. This is duplicate of Bug #84752, which was fixed by internal Bug#22252394 - SLAVE I/O THREAD MAY STOP WHEN BINLOG ROTATES. [1 Oct 2018 10:54] Margaret Fisher Fixed by another patch, changelog entry now added for MySQL 5.7.25 and 8.0.14: With sync_binlog=1 set, if the binary log was rotated during a commit before the binary log end position was updated, replication stopped on the slave because the server attempted to use the old binary log end position with the new binary log file. The server now compares the binary log file name with the active binary log file when updating the binary log end position, so that the issue does not occur. regards, Umesh
[16 Jun 2022 12:22]
Eric Franckx
Hi, we use 5.7.36-enterprise-commercial-advanced-log and still have the same issue: bogus data in log event; the first event 'mysql-bin.018107' at 89009722, the last event read from '/var/lib/mysql/logbin/mysql-bin.018117' at 53355254, the last byte read from '/var/lib/mysql/logbin/mysql-bin.018117' at 53355273. mysqlbinlog --no-defaults --base64-output=decode-rows --verbose --verbose --start-position=53355273 /var/lib/mysql/logbin/mysql-bin.018117 /*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/; /*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/; DELIMITER /*!*/; ERROR: Error in Log_event::read_log_event(): 'Event too small', data_len: 0, event_type: 0 ERROR: Could not read entry at offset 53355273: Error in log format or read error. SET @@SESSION.GTID_NEXT= 'AUTOMATIC' /* added by mysqlbinlog */ /*!*/; DELIMITER ; # End of log file /*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/; /*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 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.