jenkins-bot has submitted this change and it was merged.

Change subject: Use valid hostnames in $wgLBFactoryConf
......................................................................


Use valid hostnames in $wgLBFactoryConf

Use 'deployment-db1' instead of 'db1' as the hostname in
$wgLBFactoryConf so that `wfGetLB()->getServerName(0)` will return
a value that can be used by `mysql` to connect via the
/usr/local/bin/sql wrapper script.

Bug: 63803
Change-Id: I081125f48c8118c41526b42c5706f5a3650cf83c
---
M wmf-config/db-labs.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/db-labs.php b/wmf-config/db-labs.php
index 5472825..8a75d04 100644
--- a/wmf-config/db-labs.php
+++ b/wmf-config/db-labs.php
@@ -19,7 +19,7 @@
                # eqiad has a single server
                'sectionLoads' => array(
                        'DEFAULT' => array(
-                               'db1'     => 0,
+                               'deployment-db1'     => 0,
                        ),
                ),
 
@@ -33,7 +33,7 @@
                ),
 
                'hostsByName' => array(
-                       'db1'  => '10.68.16.193',   # 
deployment-db1.eqiad.wmflabs
+                       'deployment-db1'  => '10.68.16.193',   # 
deployment-db1.eqiad.wmflabs
                ),
        );
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I081125f48c8118c41526b42c5706f5a3650cf83c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to