[MDEV-26914] Unreleased mutex in the exec_relay_log_event() function Created: 2021-10-27  Updated: 2021-11-02  Resolved: 2021-10-28

Status: Closed
Project: MariaDB Server
Component/s: Galera, Server
Affects Version/s: 10.4.21, 10.5.12, 10.6.4, 10.7.0
Fix Version/s: 10.4.22, 10.5.13, 10.6.5, 10.7.1

Type: Bug Priority: Critical
Reporter: Julius Goryavsky Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf

 Description   

The mtr tests from galera and galera_sr suites crash periodically because one of the mutex is captured but not released on exit from the exec_relay_log_event() function:

safe_mutex: Trying to lock mutex at /home/panda/maria-10.4/sql/slave.cc, line 5607, when the mutex was already locked at /home/panda/maria-10.4/sql/slave.cc, line 4112 in thread T@27
211012 13:10:31 [ERROR] mysqld got signal 6 ;



 Comments   
Comment by Jan Lindström (Inactive) [ 2021-10-27 ]

ok to push if bb mostly green

Comment by Julius Goryavsky [ 2021-10-28 ]

Fixed, https://github.com/MariaDB/server/commit/7948a1dc53eccc23095a83daa5fd6b3bfaedf7f2

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