Ori.livneh has uploaded a new change for review.

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

Change subject: HHVM on beta: use memc04 & memc05 for ObjectCache
......................................................................

HHVM on beta: use memc04 & memc05 for ObjectCache

I have a suspicion that some of the exceptions we're seeing with HHVM on Beta
have to do with the fact that two instances of the same wiki ($wgDBname,
database, etc.) share the same memcached servers, even though they load
different extensions. So let's have each interpreter use its own memcached
mini-cluster.

Change-Id: I6ed157073a9850c603fe39a557ff1041ddf463f4
---
M wmf-config/mc-labs.php
1 file changed, 8 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/88/124288/1

diff --git a/wmf-config/mc-labs.php b/wmf-config/mc-labs.php
index 6011ca2..f46d9c2 100644
--- a/wmf-config/mc-labs.php
+++ b/wmf-config/mc-labs.php
@@ -38,9 +38,14 @@
        'class'      => 'MemcachedPeclBagOStuff',
        'serializer' => 'php',
        'persistent' => false,
-       'servers'    => array(
-               0 => '10.68.16.14:11211',  # deployment-memc2.eqiad
-               1 => '10.68.16.15:11211',  # deployment-memc3.eqiad
+       'servers'    => (
+               defined( 'HHVM_VERSION' ) ? array(
+                       0 => '10.68.17.69:11211',  # deployment-memc04.eqiad
+                       1 => '10.68.17.71:11211',  # deployment-memc05.eqiad
+               ) : array(
+                       0 => '10.68.16.14:11211',  # deployment-memc02.eqiad
+                       1 => '10.68.16.15:11211',  # deployment-memc03.eqiad
+               )
        ),
        'retry_timeout' => 1,
 );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6ed157073a9850c603fe39a557ff1041ddf463f4
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to