openstack-ansible-galera_se.../releasenotes/notes/decrease-mariadb-waittimeout-setting-ddaae0f2e1d31ee1.yaml
Bjoern Teipel a1636b3bb3 Decrease MariaDB wait timeout
This MariaDB setting uses the same timeout for SQL connections
as configured inside SQL Alchemy (pool_recycle) and prevent possibly
SQL session build up due to a large default setting (8 Hours).

Nova and Neutron are using a idle_timeout of 3600 by default,
for example
https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L101
and respectively for Neutron
https://github.com/openstack/neutron/blob/stable/liberty/etc/neutron.conf#L761

Change-Id: I273739c3c10616cac148aeb839154e0fb3359bca
Closes-Bug: #1571682
2016-04-18 10:44:49 -05:00

6 lines
186 B
YAML

---
upgrade:
- The MariaDB wait_timeout setting is decreased to 1h to match the
SQL Alchemy pool recycle timeout, in order to prevent unnecessary
database session buildups.