From: Peter Palfrader Date: Wed, 7 Mar 2018 10:23:08 +0000 (+0100) Subject: postgres-make-base-backups: print more values X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=84f3a967c24800eef6e9afebe35c092a6f4d338a;p=mirror%2Fdsa-puppet.git postgres-make-base-backups: print more values --- diff --git a/modules/postgres/templates/backup_server/postgres-make-base-backups.erb b/modules/postgres/templates/backup_server/postgres-make-base-backups.erb index 3d9e7ed0b..2a7996e1d 100755 --- a/modules/postgres/templates/backup_server/postgres-make-base-backups.erb +++ b/modules/postgres/templates/backup_server/postgres-make-base-backups.erb @@ -134,7 +134,7 @@ while read host port username cluster version; do age_after_min=$((delta - MIN_WAIT_SUCCESS)) if [ "$age_after_min" -lt "$rnd_cuttoff" ]; then runme=0 - log "Skipping $host:$port $version/$cluster because random computer says wait ($age_after_min < $rnd_cuttoff)." + log "Skipping $host:$port $version/$cluster because random computer says wait ($age_after_min < $rnd_cuttoff (< $DELTA_WAIT_SUCCESS)) + $MIN_WAIT_SUCCESS." else runme=1 log "Planning to run $host:$port $version/$cluster because random computer says so ($age_after_min >= $rnd_cuttoff)."