mirror of
https://github.com/MariaDB/server.git
synced 2025-02-12 00:15:35 +01:00
c1dc03974b
Avoid starting transactions in wsrep-lib side when wsrep is disabled. It is unnecessary, and causes spurious deadlock errors on transaction clean up. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
11 lines
247 B
Text
11 lines
247 B
Text
#
|
|
# MDEV-33523: Spurious deadlock error when wsrep_on=OFF
|
|
#
|
|
--source include/galera_cluster.inc
|
|
|
|
SET SESSION wsrep_on=OFF;
|
|
BEGIN;
|
|
# If bug is present, the following rollback
|
|
# results in ER_LOCK_DEADLOCK error.
|
|
ROLLBACK;
|
|
SET SESSION wsrep_on=OFF;
|