Page MenuHomePhabricator

Make gemm_mentee_is_active a mwtinyint in the per-wiki x1 databases
Closed, ResolvedPublic

Description

  1. ALTER TABLEs to run: ALTER TABLE /*_*/growthexperiments_mentor_mentee CHANGE gemm_mentee_is_active gemm_mentee_is_active TINYINT DEFAULT 1 NOT NULL; (commit)
  2. Where to run those changes: growthexperiments.dblist, per-wiki x1 databases
  3. When to run those changes: At any time; low-priority (change is made to ensure Postgres compatibility)
  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: Deployed to beta wikis, no issues seen.
  6. If the data should be made available on the labs replicas and/or dumps: Not applicable.
  7. Is this schema change blocking a feature rollout?: No.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Marostegui moved this task from Triage to In progress on the DBA board.

They look pretty small so I will deploy this directly on the master with replication and some sleeps between databases.

Mentioned in SAL (#wikimedia-operations) [2025-01-20T08:15:25Z] <marostegui> Deploy schema change on x1 codfw master db2196 with replication dbmaint T384176

This is running, it will take a few hours.