File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ get_transfer()
399
399
get_footprint ()
400
400
{
401
401
pushd $WSREP_SST_OPT_DATA 1> /dev/null
402
- payload=$( find . -regex ' .*\.ibd$\|.*\.MYI$\|.*\.MYD$\|.*ibdata1$' -type f -print0 | du --files0-from=- --block-size=1 -c | awk ' END { print $1 }' )
402
+ payload=$( find . -regex ' .*\.ibd$\|.*\.MYI$\|.*\.MYD$\|.*ibdata1$' -type f -print0 | du --files0-from=- --block-size=1 -c -s | awk ' END { print $1 }' )
403
403
if $MY_PRINT_DEFAULTS xtrabackup | grep -q -- " --compress" ; then
404
404
# QuickLZ has around 50% compression ratio
405
405
# When compression/compaction used, the progress is only an approximate.
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ get_transfer()
197
197
get_footprint ()
198
198
{
199
199
pushd $WSREP_SST_OPT_DATA 1> /dev/null
200
- payload=$( find . -regex ' .*\.ibd$\|.*\.MYI$\|.*\.MYD$\|.*ibdata1$' -type f -print0 | du --files0-from=- --block-size=1 -c | awk ' END { print $1 }' )
200
+ payload=$( find . -regex ' .*\.ibd$\|.*\.MYI$\|.*\.MYD$\|.*ibdata1$' -type f -print0 | du --files0-from=- --block-size=1 -c -s | awk ' END { print $1 }' )
201
201
if $MY_PRINT_DEFAULTS xtrabackup | grep -q -- " --compress" ; then
202
202
# QuickLZ has around 50% compression ratio
203
203
# When compression/compaction used, the progress is only an approximate.
You can’t perform that action at this time.
0 commit comments