mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-22443 wsrep::runtime_error on START TRANSACTION
This happens with global wsrep_on disabled and local wsrep_on enabled. The fix consists in avoiding sync wait when global wsrep_on is disabled.
This commit is contained in:
committed by
Jan Lindström
parent
8a6a084578
commit
09dd06f14a
3
mysql-test/suite/wsrep/r/MDEV-22443.result
Normal file
3
mysql-test/suite/wsrep/r/MDEV-22443.result
Normal file
@ -0,0 +1,3 @@
|
||||
SET SESSION wsrep_sync_wait=15;
|
||||
SET SESSION wsrep_on=1;
|
||||
START TRANSACTION READ WRITE;
|
8
mysql-test/suite/wsrep/t/MDEV-22443.cnf
Normal file
8
mysql-test/suite/wsrep/t/MDEV-22443.cnf
Normal file
@ -0,0 +1,8 @@
|
||||
!include ../my.cnf
|
||||
|
||||
[mysqld.1]
|
||||
wsrep-on=OFF
|
||||
binlog-format=ROW
|
||||
wsrep-provider=none
|
||||
wsrep-cluster-address='gcomm://'
|
||||
innodb_autoinc_lock_mode=2
|
12
mysql-test/suite/wsrep/t/MDEV-22443.test
Normal file
12
mysql-test/suite/wsrep/t/MDEV-22443.test
Normal file
@ -0,0 +1,12 @@
|
||||
#
|
||||
# MDEV-22443: terminate called after throwing an instance of
|
||||
# 'wsrep::runtime_error' in std::terminate on START TRANSACTION
|
||||
#
|
||||
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_wsrep.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
|
||||
SET SESSION wsrep_sync_wait=15;
|
||||
SET SESSION wsrep_on=1;
|
||||
START TRANSACTION READ WRITE;
|
Reference in New Issue
Block a user