Page MenuHomePhabricator

Make the CampaignEvents database configuration use the new DatabaseVirtualDomains config
Closed, ResolvedPublic

Description

For context, see T330590. This is now the preferred way of connecting to an external database, as opposed to the current wgCampaignEventsDatabaseCluster / wgCampaignEventsDatabaseName config options.

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptOct 5 2023, 9:19 PM
Tgr renamed this task from Make the database configuration use the new DatabaseVirtualDomains config to Make the CampaignEvents database configuration use the new DatabaseVirtualDomains config.Oct 10 2023, 8:23 PM

Change #1014595 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/CampaignEvents@master] Convert database configuration to DatabaseVirtualDomains

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

Change #1014620 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add setting to determine if CampaignEvents should use the global DB

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

Change #1014621 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (prod)

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

Change #1014623 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (beta)

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

Change #1014625 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Remove old CampaignEvents DB config (beta)

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

Change #1014626 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Remove old CampaignEvents DB config (prod)

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

Change #1014620 merged by jenkins-bot:

[operations/mediawiki-config@master] Add setting to determine if CampaignEvents should use the global DB

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

Change #1014621 merged by jenkins-bot:

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (prod)

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

Change #1014623 merged by jenkins-bot:

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (beta)

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

Change #1015042 had a related patch set uploaded (by Dreamy Jazz; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add setting to determine if CampaignEvents should use the global DB

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

Change #1015043 had a related patch set uploaded (by Dreamy Jazz; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (prod)

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

Change #1015044 had a related patch set uploaded (by Dreamy Jazz; author: Daimona Eaytoy):

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (beta)

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

Change #1015042 merged by jenkins-bot:

[operations/mediawiki-config@master] Add setting to determine if CampaignEvents should use the global DB

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

Change #1015043 merged by jenkins-bot:

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (prod)

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

Change #1015044 merged by jenkins-bot:

[operations/mediawiki-config@master] Add virtual domain mapping for CampaignEvents (beta)

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

Mentioned in SAL (#wikimedia-operations) [2024-03-28T13:26:56Z] <dreamyjazz@deploy1002> Started scap: Backport for [[gerrit:1015042|Add setting to determine if CampaignEvents should use the global DB (T348281)]], [[gerrit:1015043|Add virtual domain mapping for CampaignEvents (prod) (T348281)]], [[gerrit:1015044|Add virtual domain mapping for CampaignEvents (beta) (T348281)]]

Mentioned in SAL (#wikimedia-operations) [2024-03-28T13:29:25Z] <dreamyjazz@deploy1002> dreamyjazz: Backport for [[gerrit:1015042|Add setting to determine if CampaignEvents should use the global DB (T348281)]], [[gerrit:1015043|Add virtual domain mapping for CampaignEvents (prod) (T348281)]], [[gerrit:1015044|Add virtual domain mapping for CampaignEvents (beta) (T348281)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-03-28T13:45:45Z] <dreamyjazz@deploy1002> Finished scap: Backport for [[gerrit:1015042|Add setting to determine if CampaignEvents should use the global DB (T348281)]], [[gerrit:1015043|Add virtual domain mapping for CampaignEvents (prod) (T348281)]], [[gerrit:1015044|Add virtual domain mapping for CampaignEvents (beta) (T348281)]] (duration: 18m 49s)

Change #1015353 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/extensions/WikimediaCampaignEvents@master] Update for the CampaignEvents virtual DB domain

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

Change #1014595 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Convert database configuration to DatabaseVirtualDomains

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

Change #1015353 merged by jenkins-bot:

[mediawiki/extensions/WikimediaCampaignEvents@master] Update for the CampaignEvents virtual DB domain

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

All that's left to do is cleaning up the old config. I'll schedule my patches next week, as we need to wait for the train.

This should be ready now, the only thing left to do is the deployment of the two remaining config changes. I'm removing myself as assignee as I'll be OOO for the rest of the week and most of next week.

This should be ready now, the only thing left to do is the deployment of the two remaining config changes. I'm removing myself as assignee as I'll be OOO for the rest of the week and most of next week.

Anything I can do to help move this along? Would be lovely to have T343098's tree closed.

This should be ready now, the only thing left to do is the deployment of the two remaining config changes. I'm removing myself as assignee as I'll be OOO for the rest of the week and most of next week.

Anything I can do to help move this along? Would be lovely to have T343098's tree closed.

The only thing left to do here is the two cleanup patches that need to be deployed. That was first blocked on waiting for the train, then on me being OOO, and more recently on me stumbling upon this task at whatever time of the day is the farthest from a deployment window.

I've just gone ahead and scheduled them for the next window (in 4.5 hours).

Change #1014625 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove old CampaignEvents DB config (beta)

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

Change #1014626 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove old CampaignEvents DB config (prod)

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

Mentioned in SAL (#wikimedia-operations) [2024-05-13T20:16:59Z] <ebernhardson@deploy1002> Started scap: Backport for [[gerrit:1014626|Remove old CampaignEvents DB config (prod) (T348281)]]

Mentioned in SAL (#wikimedia-operations) [2024-05-13T20:19:24Z] <ebernhardson@deploy1002> ebernhardson and daimona: Backport for [[gerrit:1014626|Remove old CampaignEvents DB config (prod) (T348281)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-05-13T20:38:13Z] <ebernhardson@deploy1002> Finished scap: Backport for [[gerrit:1014626|Remove old CampaignEvents DB config (prod) (T348281)]] (duration: 21m 14s)

Now ready for a final round of QA, just making sure that there are no regressions related to database access in a multi-wiki setup.

Now ready for a final round of QA, just making sure that there are no regressions related to database access in a multi-wiki setup.

<3

vaughnwalters subscribed.

Went through all of the extension's special pages on meta and everything is working as expected. Moving this to product sign off.