Mark Bergsma has submitted this change and it was merged.

Change subject: Increase the chash weight to the final value on one frontend 
only
......................................................................


Increase the chash weight to the final value on one frontend only

Change-Id: Ib8388b5b40d7e9a41c03a526264f197a54fbc5f3
---
M manifests/role/cache.pp
1 file changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Mark Bergsma: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index ee268d9..acea6ad 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -584,7 +584,12 @@
                                }
                        }
 
-                       $backend_weight = 20
+                       if $::hostname =~ /^cp102[1]$/ {
+                               $backend_weight = 100
+                       }
+                       else {
+                               $backend_weight = 40
+                       }
                        if $::site == "eqiad" {
                                $storage_size_main = 100
                                $storage_size_bigobj = 10

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8388b5b40d7e9a41c03a526264f197a54fbc5f3
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>
Gerrit-Reviewer: Mark Bergsma <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to