[MDEV-25388] SKIP LOCKED should skip table level locked Created: 2021-04-12  Updated: 2021-05-18  Resolved: 2021-05-18

Status: Closed
Project: MariaDB Server
Component/s: Locking
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Daniel Black
Resolution: Incomplete Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-13115 Implement SELECT [FOR UPDATE|LOCK IN ... Closed

 Description   

A thread doing table level locking - LOCK TABLES or ALTER TABLES and if another thread is doing SELECT ... SKIP LOCKED then these entire tables should be skipped.



 Comments   
Comment by Daniel Black [ 2021-04-19 ]

Asked for user feedback in MDEV-13115.

Comment by Daniel Black [ 2021-05-18 ]

current behaviour matches MySQL, table level locks are still locks and SKIPPED LOCKED will still lockwait on a table level lock. Please state the case if you think a different behaviour is better.

Generated at Thu Feb 08 09:37:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.