Merge lp:~akopytov/percona-xtrabackup/bug1255019-2.2 into lp:percona-xtrabackup/2.2

Proposed by Alexey Kopytov
Status: Merged
Approved by: George Ormond Lorch III
Approved revision: no longer in the source branch.
Merged at revision: 4918
Proposed branch: lp:~akopytov/percona-xtrabackup/bug1255019-2.2
Merge into: lp:percona-xtrabackup/2.2
Diff against target: 36 lines (+8/-4)
1 file modified
storage/innobase/xtrabackup/test/t/xb_apply_archived_logs.sh (+8/-4)
To merge this branch: bzr merge lp:~akopytov/percona-xtrabackup/bug1255019-2.2
Reviewer Review Type Date Requested Status
George Ormond Lorch III (community) g2 Approve
Review via email: mp+200097@code.launchpad.net
To post a comment you must log in.
Revision history for this message
George Ormond Lorch III (gl-az) :
review: Approve (g2)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'storage/innobase/xtrabackup/test/t/xb_apply_archived_logs.sh'
--- storage/innobase/xtrabackup/test/t/xb_apply_archived_logs.sh 2013-11-26 10:44:44 +0000
+++ storage/innobase/xtrabackup/test/t/xb_apply_archived_logs.sh 2013-12-27 10:35:03 +0000
@@ -18,9 +18,9 @@
18 while [ $max_lsn -le $stop_lsn ];18 while [ $max_lsn -le $stop_lsn ];
19 do19 do
20 $command20 $command
21 for i in `ls -1 $arch_log_dir`;21 for i in $arch_log_dir/*;
22 do22 do
23 local lsn=`echo $i | sed -s 's/ib_log_archive_\([0-9]\+\)/\1/'`23 local lsn=${i#$arch_log_dir/ib_log_archive_}
24 if [ $lsn -gt $max_lsn ];24 if [ $lsn -gt $max_lsn ];
25 then25 then
26 max_lsn=$lsn26 max_lsn=$lsn
@@ -326,9 +326,10 @@
326 #set.326 #set.
327 pushd .327 pushd .
328 cd $ARCHIVED_LOGS_DIR328 cd $ARCHIVED_LOGS_DIR
329 for i in `find . -type f -printf "%T+ %p\n" | cut -d' ' -f2`;329 for i in *;
330 do330 do
331 local n=`echo $i | sed 's/.*ib_log_archive_\([0-9]*\).*/\1/'`;331 test -f $i || continue
332 local n=${i#ib_log_archive_}
332 if [ $n -le $LSN ];333 if [ $n -le $LSN ];
333 then334 then
334 mv $i 1/;335 mv $i 1/;
@@ -376,4 +377,7 @@
376require_xtradb377require_xtradb
377require_server_version_higher_than '5.6.10'378require_server_version_higher_than '5.6.10'
378379
380test_archived_logs
381test_archived_logs '' 'ROW_FORMAT=COMPRESSED'
382
379exit $RESULT383exit $RESULT

Subscribers

People subscribed via source and target branches

to all changes: