Bug #21923 | relay log gets corrupted when communication with master is lost in a long read | ||
---|---|---|---|
Submitted: | 30 Aug 2006 14:07 | Modified: | 31 Oct 2007 13:20 |
Reporter: | Pau Aliagas | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | mysql-server-5.0.22-1.FC5.1 | OS: | Linux (Fedora Core 5) |
Assigned to: | CPU Architecture: | Any | |
Tags: | communication, corrupt, interrupted, relay, replica, socket |
[30 Aug 2006 14:07]
Pau Aliagas
[30 Aug 2006 14:33]
Valeriy Kravchuk
Thank you for a problem report. Please, send the results of SHOW CREATE TABLE for that contingut table mentioned.
[30 Aug 2006 14:40]
Pau Aliagas
As requested: CREATE TABLE `contingut` ( `id_contingut` int(11) unsigned NOT NULL auto_increment, `id_tipus_contingut` int(11) unsigned NOT NULL default '0', `codi_contingut` varchar(20) NOT NULL default '', `contingut` longblob, `tamany` int(11) unsigned NOT NULL default '0', `id_content_type` int(11) unsigned NOT NULL default '0', `data_alta` datetime NOT NULL default '0000-00-00 00:00:00', `data_darrer_us` datetime NOT NULL default '0000-00-00 00:00:00', `data_insert` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, PRIMARY KEY (`id_contingut`), UNIQUE KEY `id_tipus_contingut_codi_contingut` (`id_tipus_contingut`,`codi_contingut`), KEY `codi_contingut` (`codi_contingut`), KEY `id_tipus_contingut` (`id_tipus_contingut`), KEY `id_content_type` (`id_content_type`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 MAX_ROWS=10000000 AVG_ROW_LENGTH=20000
[31 Aug 2006 12:07]
Valeriy Kravchuk
Is it possible for you to upload original binary log and corrupted relay log for this case?
[31 Aug 2006 14:43]
Pau Aliagas
We create 1Gb binary logs :( Do you want the previous and folowing positions or the whole file? About the relay, I did not keep it and it was automatically deleted, I'll post it the next time it crashes. Thanks for your help Pau
[4 Sep 2006 17:22]
Pau Aliagas
I've uploaded a file to the ftp: master_logs_and_relay_err.tar.bz2 It contains a few master positions that never reached the relay which I had to execute by hand. I also contains one relay with errors (one of the previous). I can have more as the last time it crashed like 10 times in a row. If you need further data, please ask me. Thanks Pau
[28 Nov 2006 14:29]
Valeriy Kravchuk
Please, try to repeat with a newer version, 5.0.27, and, in case of similar problem, check all your hardware and send my.cnf from both master and slave.
[29 Dec 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[31 Oct 2007 10:10]
James Day
Shane Bester from the Support team may have reproduced this one. More later as the tests continue.
[31 Oct 2007 13:20]
MySQL Verification Team
Marking as a duplicate of Bug #26489