Won't Do
Details
Assignee
UnassignedUnassignedReporter
Nik VyzasNik VyzasLabels
Affects versions
Priority
Medium
Details
Details
Assignee
Unassigned
UnassignedReporter
Nik Vyzas
Nik VyzasLabels
Affects versions
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created August 10, 2018 at 12:35 PM
Updated March 4, 2025 at 9:07 PM
Resolved March 4, 2025 at 9:07 PM
Description:
The mysqlbinlog utility fails to retrieve binlogs directly from a remote server when the compression protocol is enabled, the error returned is "ERROR: Could not construct log event object: Sanity check failed".
How to repeat:
THIS WORKS:
$ /usr/bin/mysqlbinlog mysql-bin.132834 --raw --read-from-remote-server --stop-never --host 10.10.10.10 --port 3306
THIS DOESNT WORK:
$ /usr/bin/mysqlbinlog mysql-bin.132834 --raw --read-from-remote-server --stop-never --host 10.10.10.10 --port 3306 --compress
ERROR: Could not construct log event object: Sanity check failed
Suggested fix:
Current workaround is to collect binlogs with compression protocol disabled