mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Restore original value of wsrep_on after waiting for sync point.
This commit is contained in:
committed by
Nirbhay Choubey
parent
d01328d73b
commit
2f870f5376
@ -1,5 +1,6 @@
|
|||||||
let $wait_timeout = 10;
|
--let $wait_timeout = 10
|
||||||
|
--let $wsrep_on_orig = `SELECT @@wsrep_on`
|
||||||
SET SESSION wsrep_on = 0;
|
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'
|
--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
|
--source include/wait_condition.inc
|
||||||
SET SESSION wsrep_on = 1;
|
--eval SET SESSION wsrep_on = $wsrep_on_orig
|
||||||
|
Reference in New Issue
Block a user