Skip to content

Commit

Permalink
MDEV-26971: Implement progress reporting by mariabackup SST script
Browse files Browse the repository at this point in the history
Add option to explicitly disable progress reporting.

Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
  • Loading branch information
ayurchen authored and vuvova committed Mar 18, 2022
1 parent eceb9e2 commit a686c10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/wsrep_sst_mariabackup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,14 @@ adjust_progress()
return
fi

if [[ "$progress" == "none" ]]; then
wsrep_log_info "All progress/rate-limiting disabled by configuration"
pcmd=""
rlimit=""
progress=""
return
fi

if [ -n "$rlimit" -a "$WSREP_SST_OPT_ROLE" = 'donor' ]; then
wsrep_log_info "Rate-limiting SST to $rlimit"
rlimitopts=" -L $rlimit"
Expand Down

0 comments on commit a686c10

Please sign in to comment.