Page MenuHomePhabricator

Deploy separate DB connection for ID insertions on wikidata.org
Closed, ResolvedPublic1 Estimated Story Points

Description

Code was added in T213817
Once this code as landed in production we should turn on seperate DB connections for wikidata item ID generation.
Config was introduced in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/485859/2/repo/config/Wikibase.default.php

This should be deployed in 2 stages:

  • test.wikidata.org
  • wikidata.org

Once deployed on test entity creation should be tested.
Entity creation rate and errors should be watched during the deployment time on wikidata.org

Event Timeline

Addshore triaged this task as Medium priority.Feb 4 2019, 9:52 AM
Addshore created this task.

Change 488114 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] Use separate DB connection for ID insertions on testwikidatawiki

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

Change 488114 merged by jenkins-bot:
[operations/mediawiki-config@master] Use separate DB connection for ID insertions on testwikidatawiki

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

Mentioned in SAL (#wikimedia-operations) [2019-02-06T12:17:30Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:488114|Use separate DB connection for ID insertions on testwikidatawiki (T215147)]], Part I (duration: 00m 55s)

Mentioned in SAL (#wikimedia-operations) [2019-02-06T12:19:31Z] <ladsgroup@deploy1001> Synchronized wmf-config/Wikibase.php: SWAT: [[gerrit:488114|Use separate DB connection for ID insertions on testwikidatawiki (T215147)]], Part II (duration: 00m 54s)

So I deployed this and you can test it, it seems slow to me. @Addshore Can you take a look?

Test seems fine for me.

@Ladsgroup if you have time today do you think you could push this out onto wikidata.org? :) (It's been stuck here for a while)

Change 491484 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] Set wmgWikibaseRepoIdGeneratorSeparateDbConnection to true for wikidata

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

Change 491484 merged by jenkins-bot:
[operations/mediawiki-config@master] Set wmgWikibaseRepoIdGeneratorSeparateDbConnection to true for wikidata

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

Mentioned in SAL (#wikimedia-operations) [2019-02-21T19:19:49Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT [[gerrit:491484|Set wmgWikibaseRepoIdGeneratorSeparateDbConnection to true for wikidata (T215147)]] (duration: 00m 56s)