Merge "Allow configuration of startup timeout"

This commit is contained in:
Zuul 2018-09-21 17:56:27 +00:00 committed by Gerrit Code Review
commit ef5d89b95d
3 changed files with 5 additions and 2 deletions

View File

@ -83,6 +83,9 @@ galera_tmp_table_size: 32M
galera_file_limits: 65535 galera_file_limits: 65535
galera_wait_timeout: 3600 galera_wait_timeout: 3600
# Increase this value if large SST transfers cause mysql startup to fail due
# to timeout
galera_startup_timeout: 1800
## innodb options ## innodb options
galera_innodb_buffer_pool_size: 4096M galera_innodb_buffer_pool_size: 4096M

View File

@ -10,7 +10,7 @@
# How long to wait for successful mysql startup # How long to wait for successful mysql startup
# Startup can take a while if it requires a galera state transfer. # Startup can take a while if it requires a galera state transfer.
MYSQLD_STARTUP_TIMEOUT=1800 MYSQLD_STARTUP_TIMEOUT={{ galera_startup_timeout }}
ulimit -n {{ calculated_max_connections }} ulimit -n {{ calculated_max_connections }}
ulimit -Hn {{ calculated_max_connections }} ulimit -Hn {{ calculated_max_connections }}

View File

@ -3,4 +3,4 @@
[Service] [Service]
# How long to wait for successful mysql startup # How long to wait for successful mysql startup
# Startup can take a while if it requires a galera state transfer. # Startup can take a while if it requires a galera state transfer.
TimeoutStartSec=1800 TimeoutStartSec={{ galera_startup_timeout }}