Bug #13497 | Insufficiently clear error message when tablespace but not logs copied | ||
---|---|---|---|
Submitted: | 26 Sep 2005 18:53 | Modified: | 24 Oct 2005 8:58 |
Reporter: | James Day | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0 | OS: | Any (all) |
Assigned to: | Osku Salerma | CPU Architecture: | Any |
[26 Sep 2005 18:53]
James Day
[26 Sep 2005 20:01]
Heikki Tuuri
Osku, please update the error message. Hmm... we could also add the most common cure to the error message: "If this warning is a result of forgetting to copy the ib_logfiles, you can remove the warnings printed by mysqld by artificially inflating the system lsn. The lsn is given as bytes. An insert raises the lsn approximately by the size of the inserted row. With a loop of repeated inserts and deletes you can raise the system lsn several gigabytes per hour." If mysqld was shut down normally before copying the tablespace, then the lsn warnings are not that dangerous. A wrong system lsn might cause crash recovery to fail in certain situations, though. Regards, Heikki
[28 Sep 2005 8:14]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/30417
[28 Sep 2005 8:18]
Osku Salerma
My patch uses the wording suggested by James, and also inserts a pointer to http://dev.mysql.com/doc/mysql/en/backing-up.html. The manual seems the right place to talk about procedures for recovering from situations like this, not error messages.
[28 Sep 2005 11:42]
Osku Salerma
Pushed to 5.0.14.
[24 Oct 2005 8:58]
Heikki Tuuri
I think this change needs no documenting as it is self-explanatory. Closing this bug report. --Heikki