On failed encryption key load checkpoints file still created

Description

When PXB fails to load the encryption key, xtrabackup_logfile is still created in the target dir. This causes a 2nd attempt at running PXB to fail with a new error.

Suggested solution: Don’t create any files on disk until after the encryption key is loaded.

Fail to load key:

 

2nd attempt after fixing key

Environment

None

Activity

Show:

Aaditya Dubey March 30, 2024 at 6:53 PM

Hi

Thank you for the report.
Verified as described.

Details

Assignee

Reporter

Needs QA

Yes

Affects versions

Priority

Smart Checklist

Created March 8, 2024 at 12:31 AM
Updated March 30, 2024 at 6:53 PM