Bug #30405 | InnoDB tablespace free space info corruption | ||
---|---|---|---|
Submitted: | 14 Aug 2007 11:45 | Modified: | 25 Feb 2014 19:11 |
Reporter: | Axel Schwenke | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 5.0.33 | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[14 Aug 2007 11:45]
Axel Schwenke
[14 Aug 2007 12:11]
Heikki Tuuri
Axel, yes, that was the main suspect when Sunny and I studied this in June 2007. The .err logs contained in almost all cases complaints about two mysqld servers running on the same pid file. --Heikki
[14 Aug 2007 12:29]
Axel Schwenke
Heikki, thanks for confirming my guess. But how can this happen? AFAIK InnoDB puts an exclusive lock on the tablespace files (the error seems to be in the global table space, otherwise the customer runs with innodb-file-per-table). So normally InnoDB should not start up, but complain about not being able to lock the files. I remember to have seen those messages already. So it seems the locking must be broken. Are there any usual suspects to check? The problem has been witnessed in the field but could not get reproduced for month now!
[13 Feb 2008 14:14]
Heikki Tuuri
Calvin, please look at this bug report. My guess is that the users have been running two instances of mysqld on the same data files. The mystery is why InnoDB's data file advisory locking did not prevent that (advisory locking should work at least in Linux). Look at the .err files and try to determine if mysqld complained about multiple instances listening on the same port. Regards, Heikki
[20 Feb 2008 8:23]
Calvin Sun
Axel - could you please get the .err files from the customer(s)? Thanks, Calvin
[21 May 2008 20:12]
Calvin Sun
Change it to feature request. According to the error log, it seems multiple instances could still be running corrently (do not know why). We may implement extra means to prevent it from happening.
[7 Feb 2011 7:45]
Marko Mäkelä
This could be a duplicate of Bug #55284.
[25 Feb 2014 19:11]
Sveta Smirnova
Similar internal bug was fixed in version 5.6.17, so I assume this one is closed too. Please wait next release, try it and if problem still exists feel free to reopen the report.