mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MW-373 Wait for wsrep_ready at startup when provider is loaded
Conflicts: mysql-test/include/kill_and_restart_mysqld.inc
This commit is contained in:
committed by
Jan Lindström
parent
224ae5770f
commit
dd72d66c45
15
mysql-test/include/wait_wsrep_ready.inc
Normal file
15
mysql-test/include/wait_wsrep_ready.inc
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
# If the wsrep plugin is loaded, wait until the wsrep provider becomes
|
||||
# ready for use.
|
||||
#
|
||||
|
||||
--disable_query_log
|
||||
--disable_result_log
|
||||
|
||||
if (`SELECT COUNT(*)=1 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'wsrep' AND PLUGIN_STATUS='ACTIVE'`)
|
||||
{
|
||||
--source include/galera_wait_ready.inc
|
||||
}
|
||||
|
||||
--enable_query_log
|
||||
--enable_result_log
|
Reference in New Issue
Block a user