Bug #4468 | DB appears to work after loading data fills the disk, but data isn't kept. | ||
---|---|---|---|
Submitted: | 8 Jul 2004 17:23 | Modified: | 12 Jul 2004 8:16 |
Reporter: | Len Vishnevsky | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 4.0.18 | OS: | Other (OpenBSD 3.1) |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[8 Jul 2004 17:23]
Len Vishnevsky
[9 Jul 2004 11:18]
Heikki Tuuri
Hi! A very strange bug report. The reason has to be that you copied wrong data files to the new server, or that your file system uses some kind of a snapshot mechanism and somehow reverted the files back to an older state. Also, are you sure that you committed the transactions that you ran during that period? If not, then they would be rolled back at the mysqld shutdown, and you would lose all the modifications. Regards, Heikki
[9 Jul 2004 18:36]
Len Vishnevsky
You suggested three possibilities: 1) copied wrong data files 2) file system uses some kind of a snapshot mechanism and somehow reverted the files back to an older state. 3) uncommitted transactions So: 1) The tables as of the disk full showed up after the new disk was installed, so that's not it. 2) Our SA said this about OpenBSD 3.1 "No snapshots. It's a normal FS." 3) The tables I created should have been copied over, even if the rows I inserted (and committed, I believe) hadn't been committed. I understand why you might not be interested in trying to replicate the error, but, out of curiousity, have you tried? Thanks, Len
[12 Jul 2004 8:16]
Heikki Tuuri
Hi! Did you remember to copy also the .frm files of the tables? If not, then MySQL thinks the tables do not exist. I cannot imagine any InnoDB bug that would revert the state of the database several days back. This is almost certainly a user error. Regards, Heikki