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

InnoDB may corrupt its log before upgrading it on startup

    XMLWordPrintable

Details

    Description

      In the function srv_start(), there are some optional adjustments for MDEV-11623 as well as something related to innodb_data_file_path. These adjustments would write log records, even though the log has not yet been upgraded to the configured format (create_log_file_rename()).

      For example, killing the server at an unfortunate time during an upgrade from 10.1 could theoretically make the data directory unrecoverable.

      I think that we must try to cover this code in our regression tests. There should already be a debug assertion for catching writes to a wrong-format log file.

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              marko Marko Mäkelä
              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.