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

Do not leave stale master-bin.info binlog state file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.0.7
    • None

    Description

      The master-bin.info file records the binlog state across normal server
      restarts (not crashes) to avoid the overhead of scanning last binlog file at
      server start.

      But we should delete the file as soon as it is read so there is no risk of
      errorneously (in server code or by user) reading out-of date information from
      it (eg. RESET MASTER for example).

      In addition, it might be useful to read the file (if present) at server start
      even if binlog files are gone (this allows to recover the binlog state even if
      binlog files are intentionally omitted from a cold backup).

      Attachments

        Activity

          People

            knielsen Kristian Nielsen
            knielsen Kristian Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.