Inherit default galera_wait_timeout value from openstack_db_connection_recycle_time
Set a new default value for ``galera_wait_timeout`` which is inherited from global ``openstack_db_connection_recycle_time``. These variables are directly related, it would cause errors when ``galera_wait_timeout`` is lower than ``openstack_db_connection_recycle_time``. From the other hand, I don't see any reason for ``galera_wait_timeout`` to be higher than ``openstack_db_connection_recycle_time`` in most cases. Change-Id: I9450912ec7960a8ab713517532164cab52628b30
This commit is contained in:
parent
d9a21b1433
commit
b79574382b
@ -98,7 +98,7 @@ galera_max_heap_table_size: 32M
|
||||
galera_tmp_table_size: 32M
|
||||
|
||||
galera_file_limits: 65535
|
||||
galera_wait_timeout: 3600
|
||||
galera_wait_timeout: "{{ openstack_db_connection_recycle_time | default('600') }}"
|
||||
# Increase this value if large SST transfers cause mysql startup to fail due
|
||||
# to timeout
|
||||
galera_startup_timeout: 1800
|
||||
|
2
releasenotes/notes/db-pooling-14f33d291a246203.yaml
Normal file
2
releasenotes/notes/db-pooling-14f33d291a246203.yaml
Normal file
@ -0,0 +1,2 @@
|
||||
other:
|
||||
- Set a new default value for ``galera_wait_timeout`` which is inherited from global ``openstack_db_connection_recycle_time``.
|
Loading…
x
Reference in New Issue
Block a user