Add variable for galera wait_timeout

Related: #457
This commit is contained in:
Hugh Saunders
2014-11-14 10:24:59 +00:00
parent c46b0f9eba
commit e420f08d66
3 changed files with 8 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ container_openstack_password:
## Galera Options
mysql_root_password:
# Defined in group_vars/galera, but can overriden here.
# galera_wait_timeout: 3600
## Keystone Options
keystone_container_mysql_password:

View File

@@ -26,6 +26,9 @@ container_lvm_fssize: 5GB
# Size of the galera cache
galera_gcache_size: 1G
# Connection timeout https://mariadb.com/kb/en/mariadb/documentation/optimization-and-tuning/system-variables/server-system-variables/#wait_timeout
galera_wait_timeout: 28800
service_pip_dependencies:
- MySQL-python
- python-memcached

View File

@@ -40,6 +40,8 @@ max-connect-errors = 1000000
# These are the computed max_connections based on cluster data {{ calculated_max_connections }}
max_connections = {{ mysql_max_connections | default(calculated_max_connections[0]) }}
wait_timeout = {{ galera_wait_timeout }}
# CACHES AND LIMITS #
tmp-table-size = 32M
max-heap-table-size = 32M