--galera-info fails in 2.1.1

Reported by Olaf van Zandwijk on 2013-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
Critical
Alexey Kopytov
2.1
Critical
Alexey Kopytov

Bug Description

Yesterday, I upgrades to xtrabackup version 2.1.1, and now my backups fail.

The commandline is
/usr/bin/innobackupex --user=... --password=... --slave-info --galera-info --stream=tar /srv/backup/xtrabackup/

and this results in

xtrabackup_55 version 2.1.1 for Percona Server 5.5.16 Linux (x86_64) (revision id: 600)
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /srv/mysql/data
xtrabackup: Target instance is assumed as followings.
xtrabackup: innodb_data_home_dir = /srv/mysql/data
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 3
xtrabackup: innodb_log_file_size = 268435456
xtrabackup: using O_DIRECT
>> log scanned up to (1597981)
[01] Streaming /srv/mysql/data/ibdata1
[01] ...done
>> log scanned up to (1597981)

130516 08:03:20 innobackupex: Continuing after ibbackup has suspended
130516 08:03:20 innobackupex: Starting to lock all tables...
innobackupex: Error:
Error executing 'SHOW STATUS': Can't call method "selectall_hashref" on an undefined value at /usr/bin/innobackupex line 1429.

>> log scanned up to (1597981)
>> log scanned up to (1597981)
>> log scanned up to (1597981)
>> log scanned up to (1597981)
>> log scanned up to (1597981)
DBD::mysql::db selectrow_array failed: MySQL server has gone away at /usr/bin/innobackupex line 1323.
>> log scanned up to (1597981)
>> log scanned up to (1597981)
>> log scanned up to (1597981)

And this never completes.

Alexey Kopytov (akopytov) wrote :

Confirmed, --galera-info is broken in 2.1.1 which is a regression introduced by https://blueprints.launchpad.net/percona-xtrabackup/+spec/use-dbd-mysql-in-innobackupex. Thanks for the report.

summary: - Can't call method "selectall_hashref" on an undefined value
+ --galera-info fails in 2.1.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers