jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/391780 )
Change subject: Use new database replicas for accessing Commons table ...................................................................... Use new database replicas for accessing Commons table The WMF Cloud Services team now recommends using a different database cluster for wiki replicas. See announcement at J70: https://phabricator.wikimedia.org/phame/post/view/70/new_wiki_replica_servers_ready_for_use/ Not sure whether to fo for the `analytics` cluster which is for "batch jobs; long queries", or the `web` cluster for "real-time". We probably don't need hard-core realtime so let's be on the safe side. Bug: T176733 Change-Id: I28a4d15da823bbeaab81463c556d500b22c4d3ac --- M api/includes/CommonsDB.php M conf/database_config.dev.yml M erfgoedbot/database_config.default.yml 3 files changed, 3 insertions(+), 3 deletions(-) Approvals: Lokal Profil: Looks good to me, approved jenkins-bot: Verified diff --git a/api/includes/CommonsDB.php b/api/includes/CommonsDB.php index e7f376d..dad4435 100644 --- a/api/includes/CommonsDB.php +++ b/api/includes/CommonsDB.php @@ -5,7 +5,7 @@ */ class CommonsDB { - static $dbServer = 'commonswiki.labsdb'; + static $dbServer = 'commonswiki.analytics.db.svc.eqiad.wmflabs'; static $dbUser = 's51138'; static $dbDatabase = 'commonswiki_p'; diff --git a/conf/database_config.dev.yml b/conf/database_config.dev.yml index 4ad3e96..b81ead0 100644 --- a/conf/database_config.dev.yml +++ b/conf/database_config.dev.yml @@ -6,5 +6,5 @@ password: password commons_db: - server: commonswiki.labsdb + server: commonswiki.analytics.db.svc.eqiad.wmflabs db_name: commonswiki_p diff --git a/erfgoedbot/database_config.default.yml b/erfgoedbot/database_config.default.yml index 811c63a..0847894 100644 --- a/erfgoedbot/database_config.default.yml +++ b/erfgoedbot/database_config.default.yml @@ -4,5 +4,5 @@ db_name: 's51138__heritage_p' commons_db: - server: 'commonswiki.labsdb' + server: 'commonswiki.analytics.db.svc.eqiad.wmflabs' db_name: 'commonswiki_p' -- To view, visit https://gerrit.wikimedia.org/r/391780 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I28a4d15da823bbeaab81463c556d500b22c4d3ac Gerrit-PatchSet: 2 Gerrit-Project: labs/tools/heritage Gerrit-Branch: master Gerrit-Owner: Jean-Frédéric <[email protected]> Gerrit-Reviewer: Lokal Profil <[email protected]> Gerrit-Reviewer: Multichill <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
