Merge lp:~akopytov/percona-xtrabackup/bug1114955-2.0 into lp:percona-xtrabackup/2.0

Proposed by Alexey Kopytov
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 501
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1114955-2.0
Merge into: lp:percona-xtrabackup/2.0
Diff against target: 10 lines (+1/-0)
1 file modified
innobackupex (+1/-0)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1114955-2.0
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Registry Administrators Pending
Review via email: mp+146350@code.launchpad.net

Description of the change

  Bug #1114955: xtrabackup_pid remains existed after execution

  Fix a regression introduced by the fix for bug #1055989: in case the
  xtrabackup process has finished copying the log file and terminated
  before wait_for_ibbackup_finish() is called, remove the stale
  xtrabackup_pid file.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'innobackupex'
--- innobackupex 2013-01-17 15:08:37 +0000
+++ innobackupex 2013-02-04 07:36:20 +0000
@@ -982,6 +982,7 @@
982sub wait_for_ibbackup_finish {982sub wait_for_ibbackup_finish {
983 if (!$ibbackup_pid) {983 if (!$ibbackup_pid) {
984 # The process has already been reaped.984 # The process has already been reaped.
985 unlink "$option_tmpdir/$xtrabackup_pid_file";
985 return $ibbackup_exit_code;986 return $ibbackup_exit_code;
986 }987 }
987988

Subscribers

People subscribed via source and target branches