[MDEV-30853] Remove Percona's backup locks support from mariabackup Created: 2023-03-15  Updated: 2023-03-15

Status: Open
Project: MariaDB Server
Component/s: Backup
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Vladislav Lesin Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   

Percona has their own backup locks implementation. Percona's xtrabackup is supposed to be worked not only with Percona Server, but also with MySQL and MariaDB. So the code detects if server supports Percona's backup locks, then it uses them instead of FTWRL.

There is no need in that code in mariabackup, as it does not support Percona's backup locks.

There is also --no-backup-locks option. The option disables such detection, and it's supposed that FTWRL will be used instead.

See lock_tables() function and the code around have_backup_locks global variable for details.

This is dead code for mariabackup, so it can be deleted along with --no-backup-locks option.


Generated at Thu Feb 08 10:19:23 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.