| Bug #39219 | Falcon silently fails to start if tablespace is locked by another process. | ||
|---|---|---|---|
| Submitted: | 3 Sep 2008 16:28 | Modified: | 5 Sep 2008 8:37 |
| Reporter: | Philip Stoev | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
| Version: | 6.0-falcon-team | OS: | Any |
| Assigned to: | Vladislav Vaintroub | CPU Architecture: | Any |
[3 Sep 2008 16:28]
Philip Stoev
[5 Sep 2008 3:55]
Kevin Lewis
Vlad, I will let you determine the best way to fix this. You may want to ask some others for their opinion. Here is what Peter G says; >>Kevin Lewis wrote: >>Peter, What is your opinion of this behavior? >>Should Falcon loop endlessly, fail helplessly, or continue to fail quietly? > Peter Gulutzan wrote; >Since people might be used to the InnoDB precedent, I believe >"loop endlessly" is best. Since the InnoDB looped message is >" >InnoDB: Unable to lock ./ibdata1, error: 11 >InnoDB: Check that you do not already have another mysqld process >InnoDB: using the same InnoDB data or log files. >080904 16:44:03 InnoDB: Retrying to lock the first data file >"
[5 Sep 2008 8:37]
Vladislav Vaintroub
Falcon does not fail silently. It complains in the error log and returns error code to the storage engine API. That storage engine API does _not_ crash is something that can be discussed, but it should be handled on the correct layer. Not with Falcons local fix, but in the same way for all engines. Looping endlessly while filling the disk with the same message in the error log like Innodb does is not the smartest way to use the disk.
