summaryrefslogtreecommitdiff
path: root/sql/service_wsrep.cc
diff options
context:
space:
mode:
authorDaniele Sciascia <daniele.sciascia@galeracluster.com>2023-01-16 17:02:16 +0100
committerJan Lindström <jan.lindstrom@mariadb.com>2023-01-19 08:24:41 +0200
commiteeb8ebb15201c69787ea632df0cd3bc9d1bfed46 (patch)
treece309ec2d5407c07bc74767ed710a1ab3cbf57d3 /sql/service_wsrep.cc
parent8d91e3f614383a010c74072b4ae876309be3995c (diff)
downloadmariadb-git-eeb8ebb15201c69787ea632df0cd3bc9d1bfed46.tar.gz
MDEV-29774 BF abort no longer wakes up debug_sync waiters
Since commit d7d3ad698abde16978e094b825e17a6ecd8604e, "hard" kill is required to interrupt debug sync waits. Affected the following tests: - galera_var_retry_autocommit, - galera_bf_abort_at_after_statement - galera_parallel_apply_3nodes Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/service_wsrep.cc')
-rw-r--r--sql/service_wsrep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/service_wsrep.cc b/sql/service_wsrep.cc
index e5c51287ab8..2d8eff2bd4b 100644
--- a/sql/service_wsrep.cc
+++ b/sql/service_wsrep.cc
@@ -257,7 +257,7 @@ extern "C" my_bool wsrep_thd_bf_abort(THD *bf_thd, THD *victim_thd,
}
victim_thd->wsrep_aborter= bf_thd->thread_id;
- victim_thd->awake_no_mutex(KILL_QUERY);
+ victim_thd->awake_no_mutex(KILL_QUERY_HARD);
}
else
WSREP_DEBUG("wsrep_thd_bf_abort skipped awake for %llu", thd_get_thread_id(victim_thd));