Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
safe_mutex has built-in deadlock detection, but it only works for mutexes.
Still, compiling with -DUSE_MUTEX_INSTEAD_OF_RW_LOCKS we can magically turn all rwlocks into mutexes.
When done, safe_mutex reports new locking order violations, the server doesn't even start.
Attachments
Issue Links
- includes
-
MDEV-5345 Deadlock between mysql_change_user(), SHOW VARIABLES and INSTALL PLUGIN
- Closed
-
MDEV-5607 Query cache destroys uninitialized rwlock
- Closed
-
MDEV-5616 Deadlock between CREATE/DROP FUNCTION and SELECT from view
- Closed
-
MDEV-6162 TokuDB: multiple locks and unlock of not locked TOKUDB_SHARE::num_DBs_lock
- Closed
-
MDEV-6749 Deadlock between GRANT/REVOKE, SELECT FROM I_S.COLUMNS, SET slow_query_log and failed connection attempt
- Closed
-
MDEV-6774 Deadlock between SELECT, DROP TABLE, SHOW STATUS and SET @@global.log_output
- Closed