Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13447

binary log rotation not honouring expire_log_days

    XMLWordPrintable

Details

    Description

      Binary logs are not being deleted by mariadb server in line with the expire_log_days variable. I have been watching this for a while on 10.2.7 and it seems random when deletion actually takes place (might it possibly be being triggered by some specific action occurring, other than time passing?).
      Currently I have expire_log_days = 2
      as can be seen from the directory listing attached, the logs go back to 16:11 on 31-Jul so however it is initiated (e.g. (1)run once at midnight, (2) check every minute or hour), the logs from 31-Jul and 01-Aug should have been removed.
      This has a potential impact regarding available space,and whilst it shouldn't rely on narrow margins, it should be able to be accounted for (assuming consistent usage!)

      Attachments

        1. dir.list
          5 kB
        2. my.ini
          4 kB

        Activity

          People

            greenman Ian Gilfillan
            amramsay Andrew Ramsay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.