Page MenuHomePhabricator

Drop foreign keys and rename index for table echo_push_subscription on wmf wikis
Closed, ResolvedPublic

Description

Apply T306473 on wmf wikis

  1. ALTERs to run: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/784322/7/sql/mysql/patch-cleanup-push_subscription-foreign-keys-indexes.sql
  2. Where to run those changes: x1 + wikitech, mediawiki, metawiki and officewiki
  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 already running with the new schema
  6. if the data should be made available on the labs replicas and/or dumps: no change of the existing rules

Event Timeline

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

It's on wikishared, that makes things much easier.

Change 826271 had a related patch set uploaded (by Ladsgroup; author: Amir Sarabadani):

[operations/software/schema-changes@master] Add rename_echo_push_indexes_T312975.py

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

Mentioned in SAL (#wikimedia-operations) [2022-08-24T11:59:36Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Depooling db1120 (T312975)', diff saved to https://phabricator.wikimedia.org/P32906 and previous config saved to /var/cache/conftool/dbconfig/20220824-115935-ladsgroup.json

Change 826271 merged by jenkins-bot:

[operations/software/schema-changes@master] Add rename_echo_push_indexes_T312975.py

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

Mentioned in SAL (#wikimedia-operations) [2022-08-24T12:03:47Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db1120 (T312975)', diff saved to https://phabricator.wikimedia.org/P32907 and previous config saved to /var/cache/conftool/dbconfig/20220824-120346-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T12:49:05Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db1120 (T312975)', diff saved to https://phabricator.wikimedia.org/P32914 and previous config saved to /var/cache/conftool/dbconfig/20220824-124905-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T12:50:04Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Depooling db1137 (T312975)', diff saved to https://phabricator.wikimedia.org/P32915 and previous config saved to /var/cache/conftool/dbconfig/20220824-125003-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T12:54:14Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db1137 (T312975)', diff saved to https://phabricator.wikimedia.org/P32916 and previous config saved to /var/cache/conftool/dbconfig/20220824-125414-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T13:39:33Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db1137 (T312975)', diff saved to https://phabricator.wikimedia.org/P32925 and previous config saved to /var/cache/conftool/dbconfig/20220824-133932-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T13:39:54Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Depooling db2131 (T312975)', diff saved to https://phabricator.wikimedia.org/P32926 and previous config saved to /var/cache/conftool/dbconfig/20220824-133953-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T13:41:05Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db2131 (T312975)', diff saved to https://phabricator.wikimedia.org/P32928 and previous config saved to /var/cache/conftool/dbconfig/20220824-134104-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T14:26:23Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db2131 (T312975)', diff saved to https://phabricator.wikimedia.org/P32935 and previous config saved to /var/cache/conftool/dbconfig/20220824-142623-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T14:27:15Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Depooling db2115 (T312975)', diff saved to https://phabricator.wikimedia.org/P32936 and previous config saved to /var/cache/conftool/dbconfig/20220824-142715-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T14:29:27Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db2115 (T312975)', diff saved to https://phabricator.wikimedia.org/P32937 and previous config saved to /var/cache/conftool/dbconfig/20220824-142926-ladsgroup.json

Mentioned in SAL (#wikimedia-operations) [2022-08-24T15:14:46Z] <ladsgroup@cumin1001> dbctl commit (dc=all): 'Repooling after maintenance db2115 (T312975)', diff saved to https://phabricator.wikimedia.org/P32941 and previous config saved to /var/cache/conftool/dbconfig/20220824-151445-ladsgroup.json

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