Bug #32005 no lock wait timeout if a table is locked by "Lock tables ... "
| Submitted: | 31 Oct 2007 20:09 | Modified: | 2 Nov 2007 14:17 |
|---|---|---|---|
| Reporter: | Armin Haaf | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
| Version: | 5.0.45 | OS: | Linux |
| Assigned to: | Assigned Account | CPU Architecture: | Any |
[31 Oct 2007 20:09]
Armin Haaf
[2 Nov 2007 13:40]
Heikki Tuuri
This is a feature request for the MySQL server. Table locks are primarily handled by MySQL, not InnoDB. There is no lock wait timeout in MySQL's table locks.
[2 Nov 2007 13:59]
Armin Haaf
If this is not a bug, then you have to update your documentation: http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html -- from http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html innodb_lock_wait_timeout The timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. InnoDB automatically detects transaction deadlocks in its own lock table and rolls back the transaction. InnoDB notices locks set using the LOCK TABLES statement. The default is 50 seconds. --
[2 Nov 2007 14:11]
Heikki Tuuri
Armin, you are right. The docs are unclear. Paul, please change the paragraph to: " The timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. InnoDB automatically detects transaction deadlocks inside its own lock table and rolls back the transaction. A lock wait for a MySQL table lock does not happen inside InnoDB, and this timeout does not apply to that wait. The default is 50 seconds. " Best regards, Heikki
[2 Nov 2007 14:17]
Armin Haaf
ok this comment is clearer. I changed this issue into a feature request. But I would like to point out that this is an important feature request for the usage of innodb in a production environment (we had a serious incident because of this missing feature)
[17 Dec 2007 16:49]
Paul DuBois
I have updated the documentation per Heikki's wording. Resetting the report to Server: InnoDB category because the report is a feature request that applies to InnoDB.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.