Details
-
Bug
-
Status: Open (View Workflow)
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
Q3/2026 Server Maintenance
Description
With variable slave_connections_needed_for_purge, a primary machine needs to check replicas before purging binary logs. If a replica is not there and the machine is a standalone machine, it just does not purge the binary logs and ignores log_expire_days variable and binary logs fills the disk space.
Binary log purge is not happening due to the default behavior of `slave_connections_needed_for_purge` to `1` on a standalone server.
If the MariaDB is able to determine whether we are a standalone installation and if so set default value slave_connections_needed_for_purge to 0.
The default of 1 is not appropriate unless we are in fact part of a replica group.
Attachments
Issue Links
- is caused by
-
MDEV-31404 Implement binlog_space_limit
-
- Closed
-