Skip to content

Commit

Permalink
expire binlog (#2350)
Browse files Browse the repository at this point in the history
* expire binlog

expire binlog entries older than a week to avoid unbounded binlog growth over longer timespans

Signed-off-by: HPPinata <[email protected]>

* kill binlog

remove all references and options regarding binlog from docker compose files

Signed-off-by: HPPinata <[email protected]>

---------

Signed-off-by: HPPinata <[email protected]>
  • Loading branch information
HPPinata authored Jan 24, 2025
1 parent 616d0df commit 8d2e904
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
2 changes: 1 addition & 1 deletion .examples/docker-compose/insecure/mariadb/fpm/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ services:
db:
image: mariadb:10.11
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
volumes:
- db:/var/lib/mysql
environment:
Expand Down Expand Up @@ -443,7 +443,7 @@ services:
db:
image: mariadb:10.11
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED
volumes:
- db:/var/lib/mysql
environment:
Expand Down

0 comments on commit 8d2e904

Please sign in to comment.