[MDEV-11950] Error: cannot open xtrabackup_debug_sync when using --debug-sync with --stream Created: 2017-01-31  Updated: 2021-07-06  Resolved: 2021-07-06

Status: Closed
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: Andrii Nikitin (Inactive) Assignee: Vladislav Lesin
Resolution: Won't Fix Votes: 0
Labels: None


 Description   

After this commit xtrabackup doesn't create --target-dir anymore when --stream option is used: https://github.com/MariaDB/server/commit/f37161070db5e800136c5610f4ddb2226396ce52

This results in error and aborted backup when --debug-sync option is used with --stream, because it tries to create a file in --target-dir (for synchronization).

xtrabackup: Generating a list of tablespaces

xtrabackup: Error: cannot open /backup/xtrabackup_debug_sync

The fix should ensure that --target-dir is created when --debug-sync option is used


Generated at Thu Feb 08 07:53:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.