summaryrefslogtreecommitdiff
path: root/mysql-test/collections
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2022-01-29 18:10:25 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2022-02-01 19:50:08 +0530
commit8d742fe4acb91652fcbeb36506d20ead4ff19e83 (patch)
treeb5eb77006a07c86a23a906a58464f1b8ef4a9115 /mysql-test/collections
parent62ba2f230a5e2735e7c8e7c5852055e9dbe8ae2f (diff)
downloadmariadb-git-8d742fe4acb91652fcbeb36506d20ead4ff19e83.tar.gz
MDEV-26326 mariabackup skip valid ibd file
- Store the deferred tablespace name while loading the tablespace for backup process. - Mariabackup stores the list of space ids which has page0 INIT_PAGE records. backup_first_page_op() and first_page_init() was introduced to track the page0 INIT_PAGE records. - backup_file_op() and log_file_op() was changed to handle FILE_MODIFY redo log records. It is used to identify the deferred tablespace space id. - Whenever file operation redo log was processed by backup, backup_file_op() should check whether the space name exist in deferred tablespace. If it is then it needs to store the space id, name when FILE_MODIFY, FILE_RENAME redo log processed and it should delete the tablespace name from defer list in other cases. - backup_fix_ddl() should check whether deferred tablespace has any page0 init records. If it is then consider the tablespace as newly created tablespace. If not then backup should try to reload the tablespace with SRV_BACKUP_NO_DEFER mode to avoid the deferring of tablespace.
Diffstat (limited to 'mysql-test/collections')
0 files changed, 0 insertions, 0 deletions