mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Helpers to deal with galera dbug sync points.
This commit is contained in:
committed by
Nirbhay Choubey
parent
17b5cb6172
commit
d01328d73b
1
mysql-test/include/galera_clear_sync_point.inc
Normal file
1
mysql-test/include/galera_clear_sync_point.inc
Normal file
@@ -0,0 +1 @@
|
||||
SET GLOBAL wsrep_provider_options = 'dbug=';
|
1
mysql-test/include/galera_set_sync_point.inc
Normal file
1
mysql-test/include/galera_set_sync_point.inc
Normal file
@@ -0,0 +1 @@
|
||||
--eval SET GLOBAL wsrep_provider_options = 'dbug=d,$galera_sync_point'
|
1
mysql-test/include/galera_signal_sync_point.inc
Normal file
1
mysql-test/include/galera_signal_sync_point.inc
Normal file
@@ -0,0 +1 @@
|
||||
--eval SET GLOBAL wsrep_provider_options = 'signal=$galera_sync_point'
|
5
mysql-test/include/galera_wait_sync_point.inc
Normal file
5
mysql-test/include/galera_wait_sync_point.inc
Normal file
@@ -0,0 +1,5 @@
|
||||
let $wait_timeout = 10;
|
||||
SET SESSION wsrep_on = 0;
|
||||
--let $wait_condition = SELECT 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_debug_sync_waiters' AND VARIABLE_VALUE = '$galera_sync_point'
|
||||
--source include/wait_condition.inc
|
||||
SET SESSION wsrep_on = 1;
|
Reference in New Issue
Block a user