percona-xtrabackup 2.1 + 5.1 w/ innodb plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Critical
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
Critical
|
Alexey Kopytov |
Bug Description
As I understand percona-xtrabackup 2.1 still supports MySQL 5.1 as long as the innodb-plugin is being used. However, attempting to do so fails:
# mysql -se 'SELECT @@version, @@innodb_version'
@@version @@innodb_version
5.1.67-log 1.0.17
# mysql -e 'SHOW PLUGINS' | grep InnoDB
InnoDB ACTIVE STORAGE ENGINE ha_innodb_plugin.so GPL
# innobackupex $HOME/backup
innobackupex: Error: Support for MySQL 5.1 with builtin InnoDB (not the plugin) was removed in Percona XtraBackup 2.1. The last version to support MySQL 5.1 with builtin InnoDB was Percona XtraBackup 2.0. at /usr/bin/
This is due to the check here:
if($var_version =~ m/5\.1\.\d/ && $var_innodb_version =~ m/.*/) {
Die "Support for MySQL 5.1 with builtin InnoDB (not the plugin) was removed in Percona XtraBackup 2.1. The last version to support MySQL 5.1 with builtin InnoDB was Percona XtraBackup 2.0.";
}
I suppose this check intends to look for an empty/missing innodb_version instead.
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedsrc/Makefile (+1/-1)
This is also blocking backups on Percona-Server 5.1.