[MDEV-9025] Lock monitor shows unrelated tables locked Created: 2015-10-27 Updated: 2015-12-25 Resolved: 2015-12-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Locking |
| Affects Version/s: | 5.5.34 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Martin Langhoff | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
CentOS6 on x86-64 VM |
||
| Description |
|
We are seeing the lock monitor report very odd locks. An UPDATE foo ... WHERE (subselect FROM bar) locks tables which are not related.
Tables are not related...
|
| Comments |
| Comment by Elena Stepanova [ 2015-11-25 ] |
|
martin.langhoff, sorry for the delay. The first explanation that comes to mind is that these locks are from earlier executed statement within the same transaction. Given that the transaction has been active for over 50 min, it's reasonable to think that not all of this time was taken by this running UPDATE. |
| Comment by Elena Stepanova [ 2015-12-25 ] |
|
If you have more information indicating there might still be a bug in there, please comment to reopen the issue. |