ArielGlenn has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/393372 )

Change subject: don't preserve timestamp of dump statusfiles tarball during 
rsync
......................................................................

don't preserve timestamp of dump statusfiles tarball during rsync

The time the file arrives is important, not the time it was
assembled.

Change-Id: I1c33b156b892cda75ea73a136a00a82df00e141b
---
M modules/dumps/files/generation/rsync-to-peers.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/72/393372/1

diff --git a/modules/dumps/files/generation/rsync-to-peers.sh 
b/modules/dumps/files/generation/rsync-to-peers.sh
index dca558b..ecd5583 100644
--- a/modules/dumps/files/generation/rsync-to-peers.sh
+++ b/modules/dumps/files/generation/rsync-to-peers.sh
@@ -117,7 +117,7 @@
        # this way, content of status and html files always reflects dump 
output already
        # made available via rsync
         if [ -f "$tarballpathgz" ]; then
-            /usr/bin/rsync -a  --contimeout=600 --timeout=600 "$tarballpathgz" 
"$dest" > /dev/null 2>&1
+            /usr/bin/rsync -pgo  --contimeout=600 --timeout=600 
"$tarballpathgz" "$dest" > /dev/null 2>&1
         fi
 
     done

-- 
To view, visit https://gerrit.wikimedia.org/r/393372
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c33b156b892cda75ea73a136a00a82df00e141b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <ar...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to