Tim Starling has submitted this change and it was merged.

Change subject: MW_RSYNC_ARGS: '--delay-updates' & '--compress'
......................................................................


MW_RSYNC_ARGS: '--delay-updates' & '--compress'

--delay-updates :
   This option causes rsync to stage all changes on the target
   node by copying to a temporary location and then renaming
   files into place all at once. This should minimize the amount
   of time each sync target is in an inconsistent state, making
   scap more atomic.

   The staged files are placed into a directory named ".~tmp~" in
   each file's destination director.

--compress :
   Exactly what it sounds like.

Change-Id: If27387fbbc8b71689e5c7388d8666f006ab1b33e
---
M templates/misc/mw-deployment-vars.erb
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tim Starling: Verified; Looks good to me, approved



diff --git a/templates/misc/mw-deployment-vars.erb 
b/templates/misc/mw-deployment-vars.erb
index deae390..957e51a 100644
--- a/templates/misc/mw-deployment-vars.erb
+++ b/templates/misc/mw-deployment-vars.erb
@@ -5,4 +5,4 @@
 MW_CRON_LOGS=/home/wikipedia/logs/norotate
 MW_RSYNC_HOST=<%= mw_rsync_host %>
 MW_DSH_ARGS=('-cM' '-g' 'mediawiki-installation' '-o' '-oSetupTimeout=30' 
'-F30')
-MW_RSYNC_ARGS=('-a' '--delete' '--exclude=**/.svn/lock' 
'--exclude=**/.git/objects' '--exclude=**/.git/**/objects' '--no-perms')
+MW_RSYNC_ARGS=('-a' '--delay-updates' '--compress' '--delete' 
'--exclude=**/.svn/lock' '--exclude=**/.git/objects' 
'--exclude=**/.git/**/objects' '--no-perms')

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If27387fbbc8b71689e5c7388d8666f006ab1b33e
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to