Page MenuHomePhabricator

Apply a default to gbw_address in the global_block_whitelist table
Closed, ResolvedPublic

Description

To implement T374937: Drop gbw_address and gbw_target_central_id from the global_block_whitelist table, we first need to assign a default value to gbw_address. Once deployed, then we can stop writing to the column and then in a later schema change remove the column. Removal of the column is necessary due to the issues described in T374855#10152646.

  1. ALTERs to run: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/GlobalBlocking/ /711c68587b37b5beb969817f5d56141fb2b5a027/sql/mysql/patch-global_block_whitelist-default-gbw_address.sql
  2. Where to run those changes: all.dblist
  3. When to run those changes: As soon as it is possible
  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: Applied to the beta cluster, as GlobalBlocking is installed there
  6. If the data should be made available on the labs replicas and/or dumps: Table is fully public, and this should not change as part of this schema change

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ABran-WMF triaged this task as Medium priority.Sep 23 2024, 7:53 AM

(we don't think this will affect any data pipeline - the new default / not null constraints would look like the data already does)

Ladsgroup moved this task from Blocked to In progress on the DBA board.

Running on master of each wiki with replication. It's empty basically everywhere and one or two rows in around ten wikis.

Ladsgroup moved this task from In progress to Done on the DBA board.

Done. Nothing seems to be on fire (beside the burning passion in my heart about mediawiki)