[MDEV-17873] MyRocks-Gap-Lock: lock wait doesn't set correct STATE Created: 2018-11-29 Updated: 2021-02-15 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When a query is waiting for row lock, it does not have waiting for row lock status in I_S.PROCESSLIST. This is a property of TokuDB, as well. Example of a TokuDB query waiting for a row lock:
|
| Comments |
| Comment by Sergei Petrunia [ 2018-11-29 ] | |||||||||||||||||||||
|
It's the same in Percona Server
| |||||||||||||||||||||
| Comment by Sergei Petrunia [ 2019-01-03 ] | |||||||||||||||||||||
|
Well, one can observe TokuDB lock waits with tokudb_lock_waits table:
There is also TokuDB_trx table which maps Toku's transaction id to mysql connection id:
|