Page MenuHomePhabricator

Got connection to 'yuewiktionary', but expected local domain ('aawiktionary').
Closed, ResolvedPublic

Description

[7b08a37a8b900bf432d5edfc] [no req]   UnexpectedValueException from line 947 of /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Got connection to 'yuewiktionary', but expected local domain ('aawiktionary').
Backtrace:
#0 /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/libs/rdbms/loadbalancer/LoadBalancer.php(874): Wikimedia\Rdbms\LoadBalancer->openLocalConnection(integer, integer)
#1 /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/libs/rdbms/loadbalancer/LoadBalancer.php(750): Wikimedia\Rdbms\LoadBalancer->openConnection(integer, boolean, integer)
#2 /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/page/WikiPage.php(487): Wikimedia\Rdbms\LoadBalancer->getConnection(integer)
#3 /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/page/WikiPage.php(590): WikiPage->loadPageData()
#4 /srv/mediawiki-staging/php-1.33.0-wmf.4/includes/page/WikiPage.php(1876): WikiPage->exists()
#5 /srv/mediawiki-staging/php-1.33.0-wmf.4/extensions/WikimediaMaintenance/addWiki.php(232): WikiPage->doEditContent(WikitextContent, CommentStoreComment, integer)
#6 /srv/mediawiki-staging/php-1.33.0-wmf.4/maintenance/doMaintenance.php(94): AddWiki->execute()
#7 /srv/mediawiki-staging/php-1.33.0-wmf.4/extensions/WikimediaMaintenance/addWiki.php(385): include(string)
#8 /srv/mediawiki-staging/multiversion/MWScript.php(100): include(string)
#9 {main}

Event Timeline

Reedy triaged this task as High priority.Nov 14 2018, 1:08 PM

Another issue: I didn't receive a mail from the newprojects list yesterday, so today I resubscribed, thinking that maybe I had somehow been unsubscribed. I then received a notification that I was already subscribed, and immediately the mail from yesterday arrived. Related?

Another issue: I didn't receive a mail from the newprojects list yesterday, so today I resubscribed, thinking that maybe I had somehow been unsubscribed. I then received a notification that I was already subscribed, and immediately the mail from yesterday arrived. Related?

Nope, don't think so...

https://lists.wikimedia.org/pipermail/newprojects/2018-November/date.html

Emails arrived to the list (slightly borked due to having to hack around problems in the addWiki script), so that seems all working

Change 474642 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/core@master] rdbms: add ILBFactory::redefineLocalDomain method

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

Change 474643 had a related patch set uploaded (by Aaron Schulz; owner: Aaron Schulz):
[mediawiki/extensions/WikimediaMaintenance@master] Use ILBFactory::redefineLocalDomain instead of IDatabase::selectDB

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

Change 474642 merged by jenkins-bot:
[mediawiki/core@master] rdbms: add ILBFactory::redefineLocalDomain method

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

Change 474643 merged by jenkins-bot:
[mediawiki/extensions/WikimediaMaintenance@master] Use ILBFactory::redefineLocalDomain instead of IDatabase::selectDB

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

aaron claimed this task.

Change 488845 had a related patch set uploaded (by Reedy; owner: Aaron Schulz):
[mediawiki/core@REL1_32] rdbms: add ILBFactory::redefineLocalDomain method

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

Change 488845 merged by jenkins-bot:
[mediawiki/core@REL1_32] rdbms: add ILBFactory::redefineLocalDomain method

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