Ori.livneh has uploaded a new change for review. https://gerrit.wikimedia.org/r/284093
Change subject: Update parser cache configuration for tag-based hashing ...................................................................... Update parser cache configuration for tag-based hashing This makes sure that keys which are currently mapped to (for example) pc1004 will map to pc2004 once we do the switchover. Depends on I8830bd6bf. Change-Id: I0ec3c015f3449a2d91d7f83e671d5b88d1d95201 --- M wmf-config/CommonSettings.php M wmf-config/db-codfw.php M wmf-config/db-eqiad.php 3 files changed, 8 insertions(+), 8 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/93/284093/1 diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index 410f106..bcbb42d 100644 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -322,8 +322,8 @@ ); $pcServers = array(); -foreach ( $wmgParserCacheDBs as $host ) { - $pcServers[] = array( 'host' => $host ) + $pcTemplate; +foreach ( $wmgParserCacheDBs as $tag => $host ) { + $pcServers[$tag] = array( 'host' => $host ) + $pcTemplate; } $wgObjectCaches['mysql-multiwrite'] = array( diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php index 28be348..b31531a 100644 --- a/wmf-config/db-codfw.php +++ b/wmf-config/db-codfw.php @@ -8,9 +8,9 @@ #$wgReadOnly = "Wikimedia Sites are currently read-only during maintenance, please try again soon."; $wmgParserCacheDBs = array( - '10.192.16.170', # pc2004 -# '10.192.32.128', # pc2005 - '10.192.48.39', # pc2006 + '10.64.0.12' => '10.192.16.170', # pc2004 +# '10.64.32.72' => '10.192.32.128', # pc2005 + '10.64.48.128' => '10.192.48.39', # pc2006 ); $wmgOldExtTemplate = array( diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php index f7d1010..955e19e 100644 --- a/wmf-config/db-eqiad.php +++ b/wmf-config/db-eqiad.php @@ -8,9 +8,9 @@ #$wgReadOnly = "Wikimedia Sites are currently read-only during maintenance, please try again soon."; $wmgParserCacheDBs = array( - '10.64.0.12', # pc1004 -# '10.64.32.72', # pc1005 - '10.64.48.128', # pc1006 + '10.64.0.12' => '10.64.0.12', # pc1004 +# '10.64.32.72' => '10.64.32.72', # pc1005 + '10.64.48.128' => '10.64.48.128', # pc1006 ); $wmgOldExtTemplate = array( -- To view, visit https://gerrit.wikimedia.org/r/284093 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0ec3c015f3449a2d91d7f83e671d5b88d1d95201 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Ori.livneh <o...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits