Merge lp:~akopytov/percona-xtrabackup/bug1190716 into lp:percona-xtrabackup/2.1
Proposed by
Alexey Kopytov
Status: | Merged |
---|---|
Merged at revision: | 610 |
Proposed branch: | lp:~akopytov/percona-xtrabackup/bug1190716 |
Merge into: | lp:percona-xtrabackup/2.1 |
Diff against target: |
45 lines (+17/-5) 2 files modified
innobackupex (+6/-5) test/t/bug1190716.sh (+11/-0) |
To merge this branch: | bzr merge lp:~akopytov/percona-xtrabackup/bug1190716 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Registry Administrators | Pending | ||
Review via email: mp+169354@code.launchpad.net |
Description of the change
Bug #1190716: innobackupex --safe-slave-backup hangs when used on
The problem was in uninitialized value usage in wait_for_
when the server is not a replication slave, i.e. when no values in
$con-
Fixed by moving the check for $con->{
after the check for $host_is_slave and checking if Slave_SQL_Running is
defined when setting $host_is_slave for extra-safety.
http://
To post a comment you must log in.
Approved with a re-push to fix -
"$sql_thread_ started = 1" is indented differently from the rest of wait_for_ safe_slave( ).