From 2676c9aad79b66705420922d393a9f498a2a6693 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 1 Feb 2021 16:23:49 +0100 Subject: galera fixes related to THD::LOCK_thd_kill Since 2017 (c2118a08b1) THD::awake() no longer requires LOCK_thd_data. It uses LOCK_thd_kill, and this latter mutex is used to prevent a thread of dying, not LOCK_thd_data as before. --- sql/sql_plugin_services.ic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sql/sql_plugin_services.ic') diff --git a/sql/sql_plugin_services.ic b/sql/sql_plugin_services.ic index a97aaed831a..784ba5c9068 100644 --- a/sql/sql_plugin_services.ic +++ b/sql/sql_plugin_services.ic @@ -187,7 +187,9 @@ static struct wsrep_service_st wsrep_handler = { wsrep_unlock_rollback, wsrep_set_data_home_dir, wsrep_thd_is_applier, - wsrep_report_bf_lock_wait + wsrep_report_bf_lock_wait, + wsrep_thd_kill_LOCK, + wsrep_thd_kill_UNLOCK }; static struct thd_specifics_service_st thd_specifics_handler= -- cgit v1.2.1