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

Recovery with innodb_log_recovery_target wrongly opens log in read-write mode

    XMLWordPrintable

Details

    • Not for Release Notes
    • Q2/2026 Server Development

    Description

      During the development of MDEV-14992, the test backup.backup_innodb failed on Microsoft Windows due to ERROR_ACCESS_DENIED. It appears that the write permission on a log file is being revoked while the server is starting up. A premature mariadbd process startup is probably an issue with the regression test driver itself (see MDEV-28976).

      In any case, there is no reason to open the log files in read/write mode when innodb_log_recovery_target is set. In this mode, we are only supposed to recover the data files based on the log file contents, and not allow any writes from applications or to the log.

      Attachments

        Issue Links

          Activity

            People

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