BBlack has submitted this change and it was merged.
Change subject: upload storage: weekly restarts
......................................................................
upload storage: weekly restarts
I'm expecting we can still avoid 503 LRU_Fail at weekly restart
intervals (or longer) with the new storage split. We had left the
crons at the more-conservative 'daily' restart interval during
ops' offsite Just In Case.
Bug: T145661
Change-Id: Icb526df69aa0d9c3dfe2e15db383986208685e7d
---
M modules/role/manifests/cache/upload.pp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
BBlack: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/role/manifests/cache/upload.pp
b/modules/role/manifests/cache/upload.pp
index 554d11e..1ad5be4 100644
--- a/modules/role/manifests/cache/upload.pp
+++ b/modules/role/manifests/cache/upload.pp
@@ -129,7 +129,7 @@
if $::realm == 'production' {
$hnodes = hiera('cache::upload::nodes')
$all_nodes = array_concat($hnodes['eqiad'], $hnodes['esams'],
$hnodes['ulsfo'], $hnodes['codfw'])
- $times = cron_splay($all_nodes, 'daily', 'upload-backend-restarts')
+ $times = cron_splay($all_nodes, 'weekly', 'upload-backend-restarts')
$be_restart_h = $times['hour']
$be_restart_m = $times['minute']
$be_restart_d = $times['weekday']
--
To view, visit https://gerrit.wikimedia.org/r/313802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb526df69aa0d9c3dfe2e15db383986208685e7d
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