Skip to content
Snippets Groups Projects
Commit f450dd97 authored by Doug Szumski's avatar Doug Szumski
Browse files

Expire mysql binary logs out of the box

As reported in the bug, these can grow to 10s to 100s of GB
in a month. To reduce the chance of filling the disk and
bringing down the control plane this change defines
an expiry time.

Closes-Bug: 1720113
Change-Id: I508aad1f515d5108a3d08c90318b70d0a918908c
parent 0844bf33
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@ log-error=/var/log/kolla/mariadb/mariadb.log
log-bin=mysql-bin
binlog_format=ROW
expire_logs_days=14
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
......
---
features:
- Automatically expire MariaDB binary logs after 14 days.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment