Page MenuHomePhabricator

Drop flaggedpage_pending from production
Closed, ResolvedPublic

Description

With this patch merged, we can drop flaggedpage_pending from wikis that have flaggedrevs installed (https://noc.wikimedia.org/conf/highlight.php?file=dblists/flaggedrevs.dblist). This table is tiny but gets a lot of writes.

Do not drop it yet, until the patch get deployed and stable: Week of 3rd of June.

Progress

  • s1
  • s2
  • s3
  • s5
  • s6
  • s7

Event Timeline

Marostegui changed the task status from Open to Stalled.May 22 2024, 11:38 AM
Marostegui triaged this task as Medium priority.
Marostegui moved this task from Triage to Blocked on the DBA board.

I've sent a calendar invite to revisit this the 3rd of June

I haven't seen any complaints or bug reports regarding this change. It's good to go.

It hasn't been written into in dewiki for a couple of days now:

root@db1183:/srv/sqldata# ls -l */flaggedpage_pending.ibd
-rw-rw---- 1 mysql mysql 6291456 May 30 20:17 dewiki/flaggedpage_pending.ibd

Let's give it two more days just in case.

Mentioned in SAL (#wikimedia-operations) [2024-06-04T06:14:48Z] <marostegui> Rename table flaggedpage_pending on db1185 (s5 eqiad dbmaint) - T365568

Marostegui changed the task status from Stalled to Open.Jun 4 2024, 6:15 AM
Marostegui moved this task from Blocked to In progress on the DBA board.

Done this for now:

cumin2024@db1185.eqiad.wmnet[dewiki]> rename table flaggedpage_pending to T365568_flaggedpage_pending;
Query OK, 0 rows affected (0.003 sec)

cumin2024@db1185.eqiad.wmnet[dewiki]>

Done this for now:

cumin2024@db1185.eqiad.wmnet[dewiki]> rename table flaggedpage_pending to T365568_flaggedpage_pending;
Query OK, 0 rows affected (0.003 sec)

cumin2024@db1185.eqiad.wmnet[dewiki]>

So far so good. So I will start dropping it on Monday.

Mentioned in SAL (#wikimedia-operations) [2024-06-10T04:44:30Z] <marostegui> Rename flaggedpage_pending in s5 T365568

I have renamed the table entirely on s5 dewiki

Mentioned in SAL (#wikimedia-operations) [2024-06-10T15:40:51Z] <marostegui> Drop flaggedpage_pending from s6 T365568

Mentioned in SAL (#wikimedia-operations) [2024-06-10T15:41:40Z] <marostegui> Drop flaggedpage_pending from s7 T365568

Mentioned in SAL (#wikimedia-operations) [2024-06-10T15:43:35Z] <marostegui> Drop flaggedpage_pending from s2 T365568

Mentioned in SAL (#wikimedia-operations) [2024-06-10T15:46:24Z] <marostegui> Drop flaggedpage_pending from s5 T365568

Mentioned in SAL (#wikimedia-operations) [2024-06-10T15:47:11Z] <marostegui> Drop flaggedpage_pending from s3 T365568

Dropping in s3 with sleep in between the drops. It will take around 25 minutes.

Mentioned in SAL (#wikimedia-operations) [2024-06-10T16:20:48Z] <marostegui> Drop flaggedpage_pending from s1 T365568

Marostegui updated the task description. (Show Details)

This is done

Change #1051244 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] filtered_tables.txt: Remove flaggedpage_pending flaggedtemplates

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

Change #1051244 merged by Marostegui:

[operations/puppet@production] filtered_tables.txt: Remove flaggedpage_pending flaggedtemplates

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

Change #1051245 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] table_jobs.yaml: Remove flaggedpage_pending and flaggedtemplates

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

Change #1051245 merged by Marostegui:

[operations/puppet@production] table_jobs.yaml: Remove flaggedpage_pending and flaggedtemplates

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