Page MenuHomePhabricator

Make flaggedpage_config.fpc_select nullable on wmf wikis
Closed, ResolvedPublic

Description

  1. ALTERs to run: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/FlaggedRevs/+/779566/4/backend/schema/mysql/patch-nullable-fpc_select.sql
  2. Where to run those changes: flaggedrevs.dblist
  3. When to run those changes: When DBA has 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 cluster runs with the new schema
  6. if the data should be made available on the labs replicas and/or dumps: No change to current rules required.

As far as I know the table is tiny or empty on all flaggedrevs wikis.

Event Timeline

We probably can run this on master and let it propagate:

ladsgroup@mwmaint1002:~$ expanddblist flaggedrevs | xargs -I {} sql {} -- -e "select count(*) from flaggedpage_config;"
count(*)
1
count(*)
0
count(*)
8
count(*)
340
count(*)
1
count(*)
17
count(*)
0
count(*)
46
count(*)
2
count(*)
0
count(*)
0
count(*)
0
count(*)
4313
count(*)
2785
count(*)
2
count(*)
0
count(*)
0
count(*)
988
count(*)
0
count(*)
109
count(*)
9
count(*)
6
count(*)
247
count(*)
13
count(*)
0
count(*)
163
count(*)
0
count(*)
0
count(*)
0
count(*)
0
count(*)
0
count(*)
0
count(*)
0
count(*)
14
count(*)
2343
count(*)
0
count(*)
10645
count(*)
0
count(*)
0
count(*)
14
count(*)
0
count(*)
0
count(*)
0
count(*)
5
count(*)
0
count(*)
0
count(*)
499
count(*)
0
count(*)
0
count(*)
0

In one wiki it's 10K rows but the rest it's pretty small. 10K is not that big either.

Ladsgroup moved this task from Triage to Ready on the DBA board.
Ladsgroup moved this task from Ready to Done on the DBA board.