MDEV-36304 InnoDB: Missing FILE_CREATE, FILE_DELETE or FILE_MODIFY error during mariabackup --prepare #3908
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Problem:
Fix:
srv_prepare_partial_backup: Variable for the server to indicate whether the redo log has been applied on partial backup
xtrabackup_read_backup_info_file(): Reads the mariabackup_info file from target directory and sets srv_prepare_partial_backup value based on partial information exist in file.
fil_name_process(): Rename the file name from "" to name encountered during FILE_* records during prepare on partial backup directory
How can this PR be tested?
./mtr mariabackup.partial_backup_prepare
Basing the PR against the correct MariaDB version
main
branch.PR quality check