Bug #29232 Replication not usable because of corrupted slave relay logs
Submitted: 20 Jun 2007 8:49 Modified: 27 Mar 2008 17:29
Reporter: Stef Cant Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Server: Replication Severity:S1 (Critical)
Version:Server version: 5.0.42 Gentoo Linux OS:Linux (Gentoo Linux)
Assigned to: Assigned Account
Tags: corrupt relay, replication

File: Maximum allowed size is 3MB.

If the data you need to attach is more than 3MB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (recommended filename: mysql-bug-data-29232.zip) and upload one to sftp.oracle.com. A free Oracle Web (SSO) account (the one you use to login bugs.mysql.com) and a client that supports SFTP are required in order to access the SFTP server.

To upload the file to sftp.oracle.com:

  1. Open an SFTP client and connect to sftp.oracle.com. Specify port 2021 and remote directory /support/incoming/.
  2. Log in with your newly created Oracle Web account (email address) and password.
  3. Upload the archive to /support/incoming.
  4. Once you have uploaded the file, add a comment to this bug to notify us about it.
Example: sftp -oPort=2021 -oUser=email sftp.oracle.com:/support/incoming

Usage Notes: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it. A file cannot be uploaded more than once with the same filename. The filename must be changed before attempting to upload the file again. The filename should always start with mysql-bug- prefix. Files are retained on the SFTP server for 7 days and then permanently removed.

[20 Jun 2007 8:50] Stef Cant
slave status after failure

Attachment: show_slave_status.txt (text/plain), 2.29 KiB.

[20 Jun 2007 8:51] Stef Cant
part of the master bin log file

Attachment: mysqlbinlog_master_firefoot-bin.000010.txt (text/plain), 25.09 KiB.

[20 Jun 2007 8:51] Stef Cant
part of the slave relay log file

Attachment: mysqlbinlog_slave_relay-strider.000022.txt (text/plain), 6.48 KiB.

[20 Jun 2007 8:51] Stef Cant
my thoughts about what happened

Attachment: investigation_faulty_query.txt (text/plain), 2.85 KiB.

[21 Jun 2007 8:14] Stef Cant
output of 'show slave status'

Attachment: 2_show_slave_status.txt (text/plain), 2.29 KiB.

[21 Jun 2007 8:14] Stef Cant
part of mysqlbinlog (master )

Attachment: 2_mysqlbinlog_master_firefoot-bin.000008.txt (text/plain), 48.79 KiB.

[21 Jun 2007 8:14] Stef Cant
part of mysqlbinlog (slave)

Attachment: 2_mysqlbinlog_slave_relay-strider.000018.txt (text/plain), 22.68 KiB.

[21 Jun 2007 8:15] Stef Cant
3 relevant queries

Attachment: 2_investigation_faulty_query.txt (text/plain), 2.46 KiB.