Multiple portability issues in archived logs test

Bug #1255019 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Low
Alexey Kopytov
2.1
Fix Released
Low
Alexey Kopytov
2.2
Fix Released
Low
Alexey Kopytov

Bug Description

xb_apply_archived_logs.sh contains many unnecessary constructs based on GNU extensions to standard Unix utilties.

Examples:

   local lsn=`echo $i | sed -s 's/ib_log_archive_\([0-9]\+\)/\1/'`

This construct 1) doesn't need '-s' and 2) uses extended regexp syntax

 for i in `find . -type f -printf "%T+ %p\n" | cut -d' ' -f2`;

This construct doesn't actually need -printf and all subsequent pushups to normalize the custom filename format.

Related branches

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-900

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.