[MDEV-6226] tokudb_lock_timeout 0 is not working as expected in MariaDB compared to Tokutek's version Created: 2014-05-10 Updated: 2014-05-12 Due: 2014-05-26 Resolved: 2014-05-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Loginov | Assignee: | Elena Stepanova |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | tokudb, tokudb_lock_timeout | ||
| Environment: |
Debian Wheezy x64 |
||
| Description |
|
Hi. From Tokutek documentation http://www.tokutek.com/wp-content/uploads/2013/10/mariadb-5.5.30-tokudb-7.1.0-users-guide.pdf: 4.2.5 tokudb_lock_timeout If tokudb_lock_timeout = 0, then lock waits should not happen. However with MariaDB 10.0.10 i've see, that if i request a table lock, the request refused with "#1205 - Lock wait timeout exceeded; try restarting transaction", so MariaDB now actually set lock timeout to zero milliseconds. I think it will be better to match the behaviour with Tokutek version and disable lock waits, if tokudb_lock_timeout = 0. Sincerely, Alex. |
| Comments |
| Comment by Elena Stepanova [ 2014-05-12 ] | ||||||||||||||||||||
|
Hi Alexander, What do you expect to happen when lock waits are disabled?
and it's the only reasonable way I can think of – 0 means that waiting is disabled, not the timeout; it doesn't mean that the statement will actually break the lock of another transaction. If waiting is disabled, the timeout happens right away. | ||||||||||||||||||||
| Comment by Alexander Loginov [ 2014-05-12 ] | ||||||||||||||||||||
|
Oh, it seems like i misunderstand the word. Issue can be closed. |