BBlack has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312510

Change subject: cache_upload: re-enable daily backend restarts
......................................................................

cache_upload: re-enable daily backend restarts

The new storage config seems to last at least 3.5 days so far
experimentally, but we're being conservative ahead of ops team
travel dates.  Will resume seeing if we can (at least) push this
out to weekly restarts after travel is done.

Bug: T145661
Change-Id: I106bf131dbad4650fc0a8ef0e7602c8385552243
---
M modules/role/manifests/cache/upload.pp
1 file changed, 6 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/10/312510/1

diff --git a/modules/role/manifests/cache/upload.pp 
b/modules/role/manifests/cache/upload.pp
index 59879c2..c704875 100644
--- a/modules/role/manifests/cache/upload.pp
+++ b/modules/role/manifests/cache/upload.pp
@@ -162,19 +162,12 @@
         $be_restart_m = $times['minute']
         $be_restart_d = $times['weekday']
 
-        if $upload_storage_experiment {
-            file { '/etc/cron.d/varnish-backend-restart':
-                ensure => absent,
-            }
-        }
-        else {
-            file { '/etc/cron.d/varnish-backend-restart':
-                mode    => '0444',
-                owner   => 'root',
-                group   => 'root',
-                content => 
template('varnish/varnish-backend-restart.cron.erb'),
-                require => File['/usr/local/sbin/varnish-backend-restart'],
-            }
+        file { '/etc/cron.d/varnish-backend-restart':
+            mode    => '0444',
+            owner   => 'root',
+            group   => 'root',
+            content => template('varnish/varnish-backend-restart.cron.erb'),
+            require => File['/usr/local/sbin/varnish-backend-restart'],
         }
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I106bf131dbad4650fc0a8ef0e7602c8385552243
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>

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

Reply via email to