Skip to content

Commit 480f44d

Browse files
committed
Set slave_connections_needed_for_purge = 0
1 parent 3059524 commit 480f44d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

root/defaults/custom.cnf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ log_bin_index = /config/log/mysql/mariadb-bin.index
129129
expire_logs_days = 10
130130
max_binlog_size = 100M
131131
# slaves
132+
# If not set in a single server environment binary logs will never be discarded - https://jira.mariadb.org/browse/MDEV-34504
133+
slave_connections_needed_for_purge = 0
132134
#relay_log = /config/log/mysql/relay-bin
133135
#relay_log_index = /config/log/mysql/relay-bin.index
134136
#relay_log_info_file = /config/log/mysql/relay-bin.info

0 commit comments

Comments
 (0)