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
This commit is contained in:
parent
0844bf33f5
commit
f450dd9779
@ -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
|
||||
|
||||
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Automatically expire MariaDB binary logs after 14 days.
|
Loading…
Reference in New Issue
Block a user