Giuseppe Lavagetto has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/351592 )
Change subject: Switch back to eqiad ...................................................................... Switch back to eqiad The single files in this commit will be synced at different phases of the switchdc procedure. More details at https://wikitech.wikimedia.org/wiki/Switch_Datacenter#MediaWiki Change-Id: I046f201936a3cc28fe8dc933b1e9c3f9d5e05ba3 --- M wmf-config/CommonSettings.php M wmf-config/db-codfw.php M wmf-config/db-eqiad.php 3 files changed, 15 insertions(+), 15 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/92/351592/1 diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php index 86ddc58..54132e6 100644 --- a/wmf-config/CommonSettings.php +++ b/wmf-config/CommonSettings.php @@ -104,7 +104,7 @@ # Get configuration from etcd. This gives us the correct $wmfMasterDatacenter require "$wmfConfigDir/etcd.php"; } else { - $wmfMasterDatacenter = 'codfw'; + $wmfMasterDatacenter = 'eqiad'; } $wmfMasterServices = $wmfAllServices[$wmfMasterDatacenter]; diff --git a/wmf-config/db-codfw.php b/wmf-config/db-codfw.php index 9a1c886..2855c9f 100644 --- a/wmf-config/db-codfw.php +++ b/wmf-config/db-codfw.php @@ -643,13 +643,13 @@ # to prevent accidental write to eqiad from codfw, # when the master dc is eqiad. 'readOnlyBySection' => [ -# 's1' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', -# 's2' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', -# 'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', # s3 -# 's4' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', -# 's5' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', -# 's6' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', -# 's7' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 's1' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 's2' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', # s3 + 's4' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 's5' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 's6' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', + 's7' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', ], ]; diff --git a/wmf-config/db-eqiad.php b/wmf-config/db-eqiad.php index 5ba7b4e..7584146 100644 --- a/wmf-config/db-eqiad.php +++ b/wmf-config/db-eqiad.php @@ -663,13 +663,13 @@ # This key must exist for the master switch script to work 'readOnlyBySection' => [ - 's1' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', - 's2' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', - 'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', # s3 - 's4' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', - 's5' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', - 's6' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', - 's7' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 's1' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 's2' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 'DEFAULT' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', # s3 +# 's4' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 's5' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 's6' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', +# 's7' => 'MediaWiki is in read-only mode for maintenance. Please try again in a few minutes', ], ]; -- To view, visit https://gerrit.wikimedia.org/r/351592 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I046f201936a3cc28fe8dc933b1e9c3f9d5e05ba3 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Giuseppe Lavagetto <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
