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

BACKUP SERVER of ENGINE=Aria

    XMLWordPrintable

Details

    • Q2/2026 Server Maintenance, Q2/2026 Server Development, Q3/2026 Server Maintenance, Q3/2026 Server Development, Q4/2026 Server Maintenance

    Description

      Implement ENGINE=Aria interface to the MDEV-14992 BACKUP SERVER statement.

      This must involve acquiring some locks similar to how mariadb-backup does it.
      The create table code in Aria was written before atomic ddl was implemented for create table. Aria first logs the create table information and then creates the tables files. If the log is readable, Aria can recreate the tables on recovery. There are improvements that could be made, documented in ma_create.cc, but there is no hurry in doing this as the servers ddl log functionality helps Aria to create tables crash safe.

      The log can replay CREATE TABLE for an aria table, but it cannot recreate the .frm file
      Note also rows for CREATE TABLE ... SELECT are not written to the transactional log. If the CREATE fails, the upper level is guaranteed to delete
      the table, so there is no reason to log rows.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              marko Marko Mäkelä
              Marko Mäkelä Marko Mäkelä
              Michael Widenius Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 7d Original Estimate - 7d
                  7d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 49d 0.25h
                  49d 0.25h

                  Git Integration

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