Skip to content

Commit

Permalink
Disable SQL DB binlog in Helm chart (infiniflow#3976)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

The initial Helm chart implementation added in infiniflow#3815 suffers from an
issue where the 5GB data volume for the SQL DB is filled up with
[binlog](https://dev.mysql.com/doc/refman/8.4/en/binary-log.html) files
after just a few days. Since the app uses a non-replicated SQL DB config
I think it makes sense to disable the binlog in the SQL DB container.
This is achieved by simply adding the required argument to the container
startup command.

### Type of change

- [X] Bug Fix (non-breaking change which fixes an issue)
  • Loading branch information
sd109 authored Dec 11, 2024
1 parent b844ad6 commit 8554550
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helm/templates/mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ spec:
- --default-authentication-plugin=mysql_native_password
- --tls_version=TLSv1.2,TLSv1.3
- --init-file=/data/application/init.sql
- --disable-log-bin
ports:
- containerPort: 3306
name: mysql
Expand Down

0 comments on commit 8554550

Please sign in to comment.