File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ if (!$restart_parameters)
50
50
# Call script that will poll the server waiting for it to be back online again
51
51
--source include /wait_until_connected_again . inc
52
52
53
+ # Wait for wsrep
54
+ --source include /wait_wsrep_ready . inc
55
+
53
56
# Turn off reconnect again
54
57
--disable_reconnect
55
58
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ if (!$restart_parameters)
16
16
# Call script that will poll the server waiting for it to be back online again
17
17
--source include /wait_until_connected_again . inc
18
18
19
+ # Wait for wsrep
20
+ --source include /wait_wsrep_ready . inc
21
+
19
22
# Turn off reconnect again
20
23
--disable_reconnect
21
24
Original file line number Diff line number Diff line change
1
+ #
2
+ # If the wsrep plugin is loaded, wait until the wsrep provider becomes
3
+ # ready for use.
4
+ #
5
+
6
+ --disable_query_log
7
+ --disable_result_log
8
+
9
+ if (`SELECT COUNT (*)= 1 FROM INFORMATION_SCHEMA . PLUGINS WHERE PLUGIN_NAME = 'wsrep' AND PLUGIN_STATUS = 'ACTIVE' `)
10
+ {
11
+ --source include /galera_wait_ready . inc
12
+ }
13
+
14
+ --enable_query_log
15
+ --enable_result_log
You can’t perform that action at this time.
0 commit comments