Mark Bergsma has uploaded a new change for review.

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


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/28/67428/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index c1f53ec..acea6ad 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -584,7 +584,12 @@
                                }
                        }
 
-                       $backend_weight = 40
+                       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: newchange
Gerrit-Change-Id: Ib8388b5b40d7e9a41c03a526264f197a54fbc5f3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <[email protected]>

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

Reply via email to