Failed to copy dymainc metadata

Description

We have the logic of skipping dynamic metadata on the apply-log phase and relying on MySQL.ibd to copy those changes. see

The issue comes if there are change that are not flushed to mysql.ibd before the incremental backup.

Incremental prepare will skip applying of DYNAMIC_METADATA redo and mysql.ibd will not have those changes. 

How to reproduce 

execute bug1028949.sh with the attached patch 
.

Environment

None

Attachments

1

Smart Checklist

Activity

Show:

Details

Assignee

Reporter

Needs QA

Yes

Priority

Smart Checklist

Created September 8, 2022 at 10:10 AM
Updated June 7, 2024 at 3:43 PM
Loading...