summaryrefslogtreecommitdiff
path: root/mysql-test/suite/galera/t
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2020-08-17 08:57:13 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2020-08-25 12:12:44 +0300
commit0be70a1b773ce66ef1803fcce19522fd9c60c07d (patch)
tree20beb43e081986db41c00b30bef6ed531748742e /mysql-test/suite/galera/t
parent6fa40b85be8cd35d337a4b4b7cf910a81518d298 (diff)
downloadmariadb-git-0be70a1b773ce66ef1803fcce19522fd9c60c07d.tar.gz
MDEV-23483: Set Galera SST thd as system thread
Revert change to MDL and set SST donor thread as a system thread. Joiner thread was already a system thread.
Diffstat (limited to 'mysql-test/suite/galera/t')
-rw-r--r--mysql-test/suite/galera/t/mdev-22543.test20
1 files changed, 10 insertions, 10 deletions
diff --git a/mysql-test/suite/galera/t/mdev-22543.test b/mysql-test/suite/galera/t/mdev-22543.test
index 53662e36942..1e7d3712639 100644
--- a/mysql-test/suite/galera/t/mdev-22543.test
+++ b/mysql-test/suite/galera/t/mdev-22543.test
@@ -5,15 +5,15 @@
--source include/galera_cluster.inc
--source include/have_debug.inc
--source include/have_debug_sync.inc
-
+
--let $node_1 = node_1
--let $node_2 = node_2
--source include/auto_increment_offset_save.inc
-
+
--let $galera_connection_name = node_1_ctrl
--let $galera_server_number = 1
--source include/galera_connect.inc
-
+
#
# Run UPDATE on node_1 and make it block before table locks are taken.
# This should block FTWRL.
@@ -23,10 +23,10 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 INT);
INSERT INTO t1 VALUES (1, 1);
SET DEBUG_SYNC = "before_lock_tables_takes_lock SIGNAL sync_point_reached WAIT_FOR sync_point_continue";
--send UPDATE t1 SET f2 = 2 WHERE f1 = 1
-
+
--connection node_1_ctrl
SET DEBUG_SYNC = "now WAIT_FOR sync_point_reached";
-
+
#
# Restart node_2, force SST.
#
@@ -40,19 +40,19 @@ SET DEBUG_SYNC = "now WAIT_FOR sync_point_reached";
# If the bug is present, FTWRL times out on node_1 in couple of
# seconds and node_2 fails to join.
--sleep 10
-
+
--connection node_1_ctrl
SET DEBUG_SYNC = "now SIGNAL sync_point_continue";
-
+
--connection node_1
--reap
SET DEBUG_SYNC = "RESET";
-
+
--connection node_2
--enable_reconnect
--source include/wait_until_connected_again.inc
-
+
--connection node_1
DROP TABLE t1;
-
+
--source include/auto_increment_offset_restore.inc