Bug #45522 | InnoDB continuously restarts after hard power off | ||
---|---|---|---|
Submitted: | 16 Jun 2009 10:57 | Modified: | 6 Jul 2010 21:23 |
Reporter: | Matthew Hird | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 5.0.67 | OS: | Linux (RHEL4u4) |
Assigned to: | CPU Architecture: | Any | |
Tags: | innodb rhel4 crash restart power |
[16 Jun 2009 10:57]
Matthew Hird
[16 Jun 2009 16:12]
Sveta Smirnova
Thank you for the report. Have you tried Forcing InnoDB Recovery (http://dev.mysql.com/doc/refman/5.0/en/forcing-recovery.html)?
[16 Jun 2009 16:14]
Matthew Hird
I didn't try to force recovery, no. sorry! I had to get the system back up and running quickly and so wiped everything and restored from a backup.
[16 Jun 2009 16:16]
Matthew Hird
Is the my.cnf file sensible? I wondered if I was running MySQL within tight constraints?
[16 Jun 2009 16:44]
Sveta Smirnova
Thank you for the feedback. If you hard power off your box it is expected what MySQL could not do automatic correct shutdown and you need to use recovery techniques to get system run smoothly again. So I close the report as "Not a Bug". Regarding to settings you should test in your environment yourself. This is why they are tunable. This bug database for handling bugs in MySQL products and not for answer usage questions. Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/
[16 Jun 2009 16:50]
Matthew Hird
I disagree that it's not a bug, MySQL should have restarted. To continuously restart and never become available is not acceptable behaviour in an enterprise system. are you saying that manual intervention is always required to recover from a hard power off?
[16 Jun 2009 20:51]
Sveta Smirnova
Thank you for the feedback. > I disagree that it's not a bug, MySQL should have restarted. MySQL will restart if you use --skip-innodb option. But you should check and repair if needed tables which use other storage engines anyway. > are you saying that manual intervention is always required to recover from a hard power off? Not always: everything is your luck in this case.
[17 Jun 2009 9:14]
Matthew Hird
I thought MySQL was supposed to be an Enterprise class database?
[6 Jul 2010 21:23]
Sveta Smirnova
Thank you for the feedback. We discussed this case internally and decided this can be restore bug. But at the same time error log shows: 090615 15:43:39 InnoDB: Started; log sequence number 0 2715771742 Number of processes running now: 0 090615 15:43:39 mysqld restarted This can show same error as in bug #41908: if pid file is not created in time mysqld_safe just restarts server and recovery happens forever. So I currently close this bug as duplicate of bug #41908. If same loop happens another time please keep broken ib* files, upload them to our FTP server, so we can examine them for case when bug in recovery exists.