BBlack has submitted this change and it was merged.
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(-)
Approvals:
BBlack: Verified; Looks good to me, approved
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: merged
Gerrit-Change-Id: I106bf131dbad4650fc0a8ef0e7602c8385552243
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits