Page MenuHomePhabricator

Dropping page.page_no_title_convert on wmf databases
Closed, ResolvedPublic

Description

A column page.page_no_title_convert is visible on ToolLabs (at least on dewiki_p). I have not found any extension using this field.
There is a entry in the HISTORY, a proposed schema change which seems not fully implemented:
https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes#New_field_in_table_page_for_languages_with_language_variants

Should be dropped, because it is unused. If this is not visible on production please move the task to ToolLabs. Thanks.

ALTER TO RUN:

ALTER TABLE page DROP COLUMN IF EXISTS page_no_title_convert;

Event Timeline

Umherirrender raised the priority of this task from to Needs Triage.
Umherirrender updated the task description. (Show Details)
Reedy triaged this task as Low priority.
Reedy set Security to None.
Reedy removed a subscriber: Springle.
Reedy subscribed.

Nice to get cleaned up, but certainly no priority. Not sure if/how much OSC might help here. Could just be done when doing any further changes to the page table

Though, there are at least 3 columns to be removed from the page table now...

page_restrictions is not safe, because that is already in use. Or which field did you mean?

2 drop, 1 add:
-page.page_counter
-page.page_no_title_convert
+page.page_lang

page_restrictions is not safe, because that is already in use. Or which field did you mean?

2 drop, 1 add:
-page.page_counter
-page.page_no_title_convert
+page.page_lang

T86342: Dropping page.page_no_title_convert on wmf databases
T86338: Dropping page.page_counter on wmf databases
T60674: Drop page.page_restrictions column from Wikimedia wikis

T60674 is blocked by T35334 which is not closed, so that field cannot be dropped at the moment.

Just for the record: page.page_lang is T69223

s6 eqiad progress

  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1005
  • dbstore1002
  • dbstore1001
  • db1125
  • db1113
  • db1098
  • db1096
  • db1093
  • db1088
  • db1085
  • db1061

Change 492952 had a related patch set uploaded (by Marostegui; owner: Marostegui):
[operations/mediawiki-config@master] db-eqiad.php: Depool db1088

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

Change 492952 merged by jenkins-bot:
[operations/mediawiki-config@master] db-eqiad.php: Depool db1088

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

Mentioned in SAL (#wikimedia-operations) [2019-02-26T06:28:09Z] <marostegui@deploy1001> Synchronized wmf-config/db-eqiad.php: Depool db1088 T86342 (duration: 00m 48s)

Mentioned in SAL (#wikimedia-operations) [2019-02-26T07:02:55Z] <marostegui> Deploy schema change on s2 codfw (this will generate lag on s2 codfw) T86342

s2 eqiad progress

  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1004
  • dbstore1002
  • db1125
  • db1122
  • db1105
  • db1103
  • db1095
  • db1090
  • db1076
  • db1074
  • db1066

Mentioned in SAL (#wikimedia-operations) [2019-02-26T10:20:37Z] <marostegui> Deploy schema change on db1074, this will generate lag on labsdb for s2 - T86342

Mentioned in SAL (#wikimedia-operations) [2019-02-27T07:01:30Z] <marostegui> Deploy schema change on s5 codfw master (db2052), this will generate lag on codfw - T86342

Mentioned in SAL (#wikimedia-operations) [2019-02-27T08:40:21Z] <marostegui> Deploy schema change on db1082 - will generate lag on labsdb:s5 - T86342

s5 eqiad progress

  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1003
  • dbstore1002
  • db1124
  • db1113
  • db1110
  • db1102
  • db1100
  • db1097
  • db1096
  • db1082
  • db1070

Mentioned in SAL (#wikimedia-operations) [2019-02-28T06:50:00Z] <marostegui> Deploy schema change on db1079, this will generate lag on s7 on labs - T86342

s7 eqiad progress

  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1003
  • dbstore1002
  • db1125
  • db1116
  • db1101
  • db1098
  • db1094
  • db1090
  • db1086
  • db1079
  • db1062

Mentioned in SAL (#wikimedia-operations) [2019-03-01T06:48:34Z] <marostegui> Deploy schema change on s4 codfw, lag will appear on s4 codfw - T86342

s4 eqiad progress

  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1004
  • dbstore1002
  • db1125
  • db1121
  • db1103
  • db1102
  • db1097
  • db1091
  • db1084
  • db1081
  • db1068

Mentioned in SAL (#wikimedia-operations) [2019-03-06T08:47:20Z] <marostegui> Deploy schema change on s3 codfw, this will generate lag on codfw - T86342

s3 eqiad progress

  • labsdb1012
  • labsdb1011
  • labsdb1010
  • labsdb1009
  • dbstore1004
  • db1124
  • db1123
  • db1095
  • db1075
  • db1077
  • db1078

Mentioned in SAL (#wikimedia-operations) [2019-03-07T06:03:48Z] <marostegui> Deploy schema change on db1121, this will generate lag on labsdb:s4 - T86342

Marostegui updated the task description. (Show Details)

This is all done! One less drift between HEAD and production