Merge lp:~sergei.glushchenko/percona-xtrabackup/xb21-bug1095551 into lp:percona-xtrabackup/2.1

Proposed by Sergei Glushchenko
Status: Merged
Approved by: Alexey Kopytov
Approved revision: no longer in the source branch.
Merged at revision: 477
Proposed branch: lp:~sergei.glushchenko/percona-xtrabackup/xb21-bug1095551
Merge into: lp:percona-xtrabackup/2.1
Diff against target: 20 lines (+2/-1)
1 file modified
innobackupex (+2/-1)
To merge this branch: bzr merge lp:~sergei.glushchenko/percona-xtrabackup/xb21-bug1095551
Reviewer Review Type Date Requested Status
Alexey Kopytov (community) Approve
Review via email: mp+141854@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexey Kopytov (akopytov) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'innobackupex'
2--- innobackupex 2013-01-02 04:23:18 +0000
3+++ innobackupex 2013-01-04 05:20:28 +0000
4@@ -18,6 +18,7 @@
5 use File::Find;
6 use File::Copy;
7 use English qw(-no_match_vars);
8+use Time::HiRes qw(usleep);
9
10 # version of this script
11 my $innobackup_version = '1.5.1-xtrabackup';
12@@ -893,7 +894,7 @@
13 print STDERR "$prefix Waiting for ibbackup (pid=$ibbackup_pid) to suspend\n";
14 print STDERR "$prefix Suspend file '$suspend_file'\n\n";
15 for (;;) {
16- sleep 2;
17+ usleep(100000);
18 last if -e $suspend_file;
19
20 # check that ibbackup child process is still alive

Subscribers

People subscribed via source and target branches