Page MenuHomePhabricator

Add primary key and drop unique index on renameuser_status on wmf wikis
Closed, ResolvedPublic

Description

Apply T300577 to wmf wikis

  1. ALTERs to run: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/817840/2/schema/mysql/patch-renameuser_status-unique-to-pk.sql
  2. Where to run those changes: centralauth
  3. When to run those changes: any time
  4. If the schema change is backwards compatible: Yes
  5. If the schema change has been tested already on some of the test/beta wikis: beta needs the patch also applied
  6. if the data should be made available on the labs replicas and/or dumps: no change of the existing rules

Due to a bug in the schema change generator (T314138) the DROP + ALTER should be rewritten to be atomic

Event Timeline

Marostegui triaged this task as Medium priority.
Marostegui moved this task from Triage to In progress on the DBA board.

This was done on the master with replication enabled.