Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • N/A
    • Backup
    • None

    Description

      On BACKUP START the server should start monitoring DDLs and collect all names of tables that had their metadata changed.

      This can be collected in a temporary table (MEMORY with overflow to disk, as usual) and returned, for example, in a INFORMATION_SCHEMA table (preferrably with file names, if possible).

      The backup client can thus retrieve all such tables (that were supposedly created/dropped/renamed/modified during the backup process) and copy them again (or drop or rename in the backup — the I_S table should have enough information for that).

      Attachments

        Issue Links

          Activity

            wlad Vladislav Vaintroub added a comment - - edited

            I think that it would be hard to do efficient renames in Aria, just based on file names and operations in the DDL log.
            Because the table can be recreated several times while backup is running, we can not know for sure which version of the table is now in the backup.
            With Innodb it is possible to know which version we have, because tablespaces have IDs that change if file is dropped and recreated.

            In absence of unique versioning, we'll have to re-copy new and renamed files that are in the DDL log.

            wlad Vladislav Vaintroub added a comment - - edited I think that it would be hard to do efficient renames in Aria, just based on file names and operations in the DDL log. Because the table can be recreated several times while backup is running, we can not know for sure which version of the table is now in the backup. With Innodb it is possible to know which version we have, because tablespaces have IDs that change if file is dropped and recreated. In absence of unique versioning, we'll have to re-copy new and renamed files that are in the DDL log.

            People

              Unassigned Unassigned
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.