Details
Description
For some reason 10.4 and 10.5 are different compared to 10.6 where we have
mysql_mutex_assert_owner(&thd->LOCK_thd_data);
|
This function accesses THD variables so this requirement is correct except when called holding lock_sys mutex or latch, because then transaction and it's thd cant be freed and wsrep state change is not possible.