Page MenuHomePhabricator

Stop writing old for event table migration on WMF wikis
Closed, ResolvedPublic1 Estimated Story Points

Description

When all interfaces that read from the CheckUser tables have been updated to support reading new (i.e. from cu_log_event and cu_private_event) and are stably doing so, event table migration should be set to stop writing old.

This is needed more quickly because when temporary accounts are enabled on a wiki, writing old will cause exceptions on failed login attempts and password reset requests made while logged out (T353953). This also needs to be done earlier for testwiki to avoid blocking the temporary account deployment to that wiki.

Acceptance criteria
  • Set $wgCheckUserEventTablesMigrationStage = SCHEMA_COMPAT_NEW; on all group0 wikis
  • Set $wgCheckUserEventTablesMigrationStage = SCHEMA_COMPAT_NEW; on all group1 wikis
  • Set $wgCheckUserEventTablesMigrationStage = SCHEMA_COMPAT_NEW; on all WMF wikis

Related Objects

Event Timeline

Dreamy_Jazz renamed this task from Stop writing old on WMF wikis to Stop writing old for event table migration on WMF wikis.Mar 28 2024, 10:46 AM

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

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on group0

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

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

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on group1

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

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

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on all wikis

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

Change #1038740 merged by jenkins-bot:

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on group0

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

Mentioned in SAL (#wikimedia-operations) [2024-06-05T20:03:38Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1038740|[CheckUser] Stop writing old for event tables migration on group0 (T360685)]], [[gerrit:1038882|Growth: Use growthexperiments DB list for enabling GrowthExperiments (T364892)]], [[gerrit:1035473|[Beta] Enable CommunityConfiguration extension in all wikis (T364892)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-05T20:06:18Z] <urbanecm@deploy1002> urbanecm and sgimeno and dreamyjazz: Backport for [[gerrit:1038740|[CheckUser] Stop writing old for event tables migration on group0 (T360685)]], [[gerrit:1038882|Growth: Use growthexperiments DB list for enabling GrowthExperiments (T364892)]], [[gerrit:1035473|[Beta] Enable CommunityConfiguration extension in all wikis (T364892)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/M

Mentioned in SAL (#wikimedia-operations) [2024-06-05T20:25:43Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1038740|[CheckUser] Stop writing old for event tables migration on group0 (T360685)]], [[gerrit:1038882|Growth: Use growthexperiments DB list for enabling GrowthExperiments (T364892)]], [[gerrit:1035473|[Beta] Enable CommunityConfiguration extension in all wikis (T364892)]] (duration: 22m 04s)

Un-assigning and moving back to Ready, as someone else from the team will pick this up next week while I'm away.

Change #1038741 merged by jenkins-bot:

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on group1

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

Mentioned in SAL (#wikimedia-operations) [2024-06-26T13:03:21Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 Started scap: Backport for [[gerrit:1038741|[CheckUser] Stop writing old for event tables migration on group1 (T360685)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-26T13:05:59Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 lucaswerkmeister-wmde, dreamyjazz: Backport for [[gerrit:1038741|[CheckUser] Stop writing old for event tables migration on group1 (T360685)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-06-26T13:15:31Z] <logmsgbot> lucaswerkmeister-wmde@deploy1002 Finished scap: Backport for [[gerrit:1038741|[CheckUser] Stop writing old for event tables migration on group1 (T360685)]] (duration: 12m 09s)

Change #1038742 merged by jenkins-bot:

[operations/mediawiki-config@master] [CheckUser] Stop writing old for event tables migration on all wikis

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

Mentioned in SAL (#wikimedia-operations) [2024-06-27T13:08:07Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1038742|[CheckUser] Stop writing old for event tables migration on all wikis (T360685)]], [[gerrit:1049970|testwiki: use shellbox-video for scaling video (T356241)]], [[gerrit:1049886|Add VK namespace alias to Azerbaijani Wikibooks (T368237)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-27T13:10:46Z] <urbanecm@deploy1002> urbanecm, dreamrimmer, hnowlan, dreamyjazz: Backport for [[gerrit:1038742|[CheckUser] Stop writing old for event tables migration on all wikis (T360685)]], [[gerrit:1049970|testwiki: use shellbox-video for scaling video (T356241)]], [[gerrit:1049886|Add VK namespace alias to Azerbaijani Wikibooks (T368237)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-06-27T13:24:55Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1038742|[CheckUser] Stop writing old for event tables migration on all wikis (T360685)]], [[gerrit:1049970|testwiki: use shellbox-video for scaling video (T356241)]], [[gerrit:1049886|Add VK namespace alias to Azerbaijani Wikibooks (T368237)]] (duration: 16m 48s)