Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
dd72d66c
Commit
dd72d66c
authored
Apr 24, 2017
by
Teemu Ollakka
Committed by
Jan Lindström
Aug 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MW-373 Wait for wsrep_ready at startup when provider is loaded
Conflicts: mysql-test/include/kill_and_restart_mysqld.inc
parent
224ae577
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
mysql-test/include/restart_mysqld.inc
mysql-test/include/restart_mysqld.inc
+3
-0
mysql-test/include/start_mysqld.inc
mysql-test/include/start_mysqld.inc
+3
-0
mysql-test/include/wait_wsrep_ready.inc
mysql-test/include/wait_wsrep_ready.inc
+15
-0
No files found.
mysql-test/include/restart_mysqld.inc
View file @
dd72d66c
...
@@ -50,6 +50,9 @@ if (!$restart_parameters)
...
@@ -50,6 +50,9 @@ if (!$restart_parameters)
# Call script that will poll the server waiting for it to be back online again
# Call script that will poll the server waiting for it to be back online again
--
source
include
/
wait_until_connected_again
.
inc
--
source
include
/
wait_until_connected_again
.
inc
# Wait for wsrep
--
source
include
/
wait_wsrep_ready
.
inc
# Turn off reconnect again
# Turn off reconnect again
--
disable_reconnect
--
disable_reconnect
mysql-test/include/start_mysqld.inc
View file @
dd72d66c
...
@@ -16,6 +16,9 @@ if (!$restart_parameters)
...
@@ -16,6 +16,9 @@ if (!$restart_parameters)
# Call script that will poll the server waiting for it to be back online again
# Call script that will poll the server waiting for it to be back online again
--
source
include
/
wait_until_connected_again
.
inc
--
source
include
/
wait_until_connected_again
.
inc
# Wait for wsrep
--
source
include
/
wait_wsrep_ready
.
inc
# Turn off reconnect again
# Turn off reconnect again
--
disable_reconnect
--
disable_reconnect
mysql-test/include/wait_wsrep_ready.inc
0 → 100644
View file @
dd72d66c
#
# 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment