Bug #69914 | mysqlreplicate utility crashes freshly installed MySQL 5.6.12 slave servers | ||
---|---|---|---|
Submitted: | 2 Aug 2013 22:49 | Modified: | 1 Apr 2014 8:03 |
Reporter: | Shahriyar Rzayev | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Utilities | Severity: | S1 (Critical) |
Version: | 5.6.12 | OS: | Linux (Centos 6.4) |
Assigned to: | CPU Architecture: | Any |
[2 Aug 2013 22:49]
Shahriyar Rzayev
[2 Aug 2013 22:50]
Shahriyar Rzayev
core dump of MySQL 5.6.12 crash
Attachment: core4.tar.gz (application/gzip, text), 2.19 MiB.
[7 Aug 2013 10:29]
Marko Mäkelä
Can you attach more of the slave error log output? The log that you attached is issued after server restart. What happened before that? Was the server killed, or did it crash by itself? I would like to have the full log from the previous startup up to these lines (issued by crash recovery): InnoDB: 2 transaction(s) which must be rolled back or cleaned up InnoDB: in total 4 row operations to undo InnoDB: Trx id counter is 10240 Is this the same scenario as Bug#69898? Is it the same crashing instance too? (The files could be slightly different, because InnoDB is multi-threaded.)
[7 Aug 2013 10:37]
Shahriyar Rzayev
Marko Mäkelä, Yes it is the same instance and same scenario. and i think the cause of crashs is "mysqlreplicate"... Thats why i report this as seperate bug. Please repeat this scenario with mysqlreplicate.
[7 Aug 2013 10:41]
Shahriyar Rzayev
Sadly i removed by accident the previous error log which maybe include information before server first crash :( But you can test and repeat this scenario by your own. i think it must be repeatable by all
[7 Aug 2013 11:04]
Shahriyar Rzayev
Sorry i must correct that in this report i used my different laptop but with same scenario. So it is different instance with same configuration and with same errors. Thanks.
[7 Aug 2013 15:06]
Chuck Bell
The mysqlreplicate utility is unlikely the culprit because it simply issues the same SQL commands you would run yourself for setting up replication. We need to know for certain it is the utility. Please try to reproduce this problem without using mysqlreplicate. You should use the same CHANGE MASTER command as shown in the output of mysqlreplicate. More specifically, these commands (corrected as needed): <on master> GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%' IDENTIFIED BY '12345'; <on slave> CHANGE MASTER TO MASTER_HOST = 'localhost', MASTER_USER = 'repl', MASTER_PASSWORD = '12345', MASTER_PORT = 3306, MASTER_AUTO_POSITION=1; START SLAVE; If this fails, please post your results including the error log for the slave as well as the master. If you cannot reproduce the problem manually, but can with mysqlreplicate, please include -vvv in the options and post the results. Lastly, what version of MySQL Utilities are you using?
[7 Aug 2013 19:54]
Shahriyar Rzayev
Charles Bell, Due to another BUG report i have already crashed MySQL...because of crash i cant even start my slave. So i cant setup replication manually at this moment. So i can only attach all things that will be usefull to you repeat this crash with mysqlreplicate. All information you asked, i have already stated in these files: master_server.txt --- here i stated all steps in master server slave_server.txt --- here i stated all steps in slave server replication_steps.txt --- here i stated all steps for replication setup. slave_error_log master_error_log And i attached this files in this bug too: http://bugs.mysql.com/bug.php?id=69898
[7 Aug 2013 19:55]
Shahriyar Rzayev
All files with usefull information
Attachment: bug_attach.tar.gz (application/gzip, text), 9.27 KiB.
[9 Aug 2013 18:54]
Chuck Bell
I have tried to reproduce this problem as you describe but I have been unable to. We really do need to know if a manual setup produces the same error on your systems. Once we know this, we can work toward trying to reproduce the problem more. One last request. Please state how you setup your VM for the Centos OS (what host, etc., any special firewall or other configs, etc.) so that we can get as close to your configuration as possible.
[10 Aug 2013 13:07]
Shahriyar Rzayev
I must inform you that all 2 related BUGS are verified: http://bugs.mysql.com/bug.php?id=69898 http://bugs.mysql.com/bug.php?id=69898 "Please state how you setup your VM for the Centos OS (what host, etc., any special firewall or other configs, etc.)" No special procedures just default Linux installation even i stopped iptables. I will install new Centos in different VM and will test manually this issue as you say. But in another BUG especially in http://bugs.mysql.com/bug.php?id=69898 they can repeat my scenario.
[1 Apr 2014 7:55]
Shahriyar Rzayev
Maybe this report is not important now, because Related BUG reports which i provide closed and fixed now with recent version of MySQL. Is there any info that i must provide? Or could yo reproduce same conditions?
[1 Apr 2014 8:02]
MySQL Verification Team
Hi Shahriyar, I think this bug should just be closed. It was the result of a server bug #69898 . At least, it will be useful to those who search google for similar problems if they are still using old server versions.