[MDEV-24494] Lock on simple UPDATE query with Semaphore wait > 600 seconds Created: 2020-12-27 Updated: 2021-01-12 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update, Storage Engine - InnoDB |
| Affects Version/s: | 10.4.17 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Leonard Sinquer | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | lock | ||
| Environment: |
Centos 7 |
||
| Description |
|
MariaDB 10.4.17 server randomly hangs on simple UPDATE statements.
When I query
I get output such as
So one UPDATE is blocking another update due to X lock. The blocking UPDATE does not show up in innodb lock waits, so no idea why it keeps on waiting with the X lock on loginlogs table. logid is PRIMARY KEY. The UPDATE is not part of any transaction, its a stand-alone statement. The lock then ends up in this:
And then MariaDB restarts. |