[MDEV-26528] galera_sr.GCF-1060: wrong usage of mutex LOCK_thd_kill and LOCK_thd_kill Created: 2021-09-02  Updated: 2023-12-12  Resolved: 2023-05-11

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.4
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Daniele Sciascia Assignee: Daniele Sciascia
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-30172 Galera test case cleanup Stalled
Duplicate
is duplicated by MDEV-28460 Galera wrong usage of mutex LOCK_thd_... Closed
Issue split
split from MDEV-20848 Galera test failure on galera_sr.GCF-... Closed

 Description   

galera_sr.GCF-1060 sometimes produces wrong usage of mutex warning:

Mutex currently locked (in reverse order):
LOCK_thd_kill /home/sciascid/Workspace/src/mariadb-server/sql/sql_class.cc line 2202
LOCK_thd_kill /home/sciascid/Workspace/src/mariadb-server/sql/service_wsrep.cc line 42

Need --repeat option to reproduce



 Comments   
Comment by Daniele Sciascia [ 2021-09-21 ]

This should disappear after https://github.com/MariaDB/server/pull/1900 merged.

Comment by Daniele Sciascia [ 2023-05-11 ]

This no longer reproduces. Tested on 10.4 and 10.5. Will submit a pull request to re-enable the test on 10.5.
However, the problem still persists with MDEV-28460, which initially seemed to duplicate this one.

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