Page MenuHomePhabricator

Create a schema migration configuration value for writing to and reading from cu_private_event_no_actor
Closed, DeclinedPublic1 Estimated Story Points

Description

A configuration value is needed to be able to control the migration stage of using the cu_private_event_no_actor table in Special:CheckUser.

The Special:CheckUser code will read from the cu_private_event_no_actor table if SCHEMA_COMPAT_READ_NEW is set in the config. The CheckUserInsert service will write to this table if SCHEMA_COMPAT_WRITE_NEW is set in the config.

Acceptance criteria
  • Create the CheckUserPrivateEventNoActorMigrationStage configuration value which will be set to SCHEMA_COMPAT_OLD for the time being

Event Timeline

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

[mediawiki/extensions/CheckUser@master] Add wgCheckUserPrivateEventNoActorMigrationStage

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

Dreamy_Jazz set the point value for this task to 1.Mar 7 2024, 5:16 PM

Change 1009249 abandoned by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] Add wgCheckUserPrivateEventNoActorMigrationStage

Reason:

The table is no longer being added.

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

Per DBA feedback, we will make the cupe_actor column NULLable and then use that.