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
1=== modified file 'innobackupex'
2--- innobackupex 2013-01-17 15:08:37 +0000
3+++ innobackupex 2013-02-04 07:36:20 +0000
4@@ -982,6 +982,7 @@
5 sub wait_for_ibbackup_finish {
6 if (!$ibbackup_pid) {
7 # The process has already been reaped.
8+ unlink "$option_tmpdir/$xtrabackup_pid_file";
9 return $ibbackup_exit_code;
10 }
11

Subscribers

People subscribed via source and target branches