On some date (to be defined), set $wgChangeTagsSchemaMigrationStage to MIGRATION_NEW in order to start reading from the new change_tag_def table.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Cenarium | T89553 Recent changes patrolling limited to tagged changes | |||
Declined | None | T91425 ProblemChanges should only filter for tags indicating a 'problem' | |||
Open | None | T134440 Add configuration settings for tags to allow more complex use cases (tracking) | |||
Open | None | T95319 Add 'problem' status for tags | |||
Resolved | Cenarium | T73236 Automatically tag edits that make a redirect, or convert a redirected page to a normal page, or move a page across namespaces, etc. | |||
Resolved | None | T105189 [Bug] Wikidata action=query&list=tags should not take 15-25 seconds to respond | |||
Resolved | Ladsgroup | T91535 Performance issues with tags | |||
Resolved | Ladsgroup | T185355 Normalize change tag schema | |||
Resolved | Ladsgroup | T194164 Start reading from change_tag_def in production | |||
Resolved | Ladsgroup | T196671 Start reading from change_tag_def in beta cluster |
Event Timeline
Change 466271 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Set some small wikis to read new for change tag backend
Change 466271 merged by jenkins-bot:
[operations/mediawiki-config@master] Set some small wikis to read new for change tag backend
Mentioned in SAL (#wikimedia-operations) [2018-10-11T11:30:41Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:466271|Set some small wikis to read new for change tag backend (T194164)]] (duration: 00m 50s)
Change 467307 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Enable reading from ct_tag_id in s7
Change 467307 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable reading from ct_tag_id in s7
Mentioned in SAL (#wikimedia-operations) [2018-10-15T11:09:32Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:467307|Enable reading from ct_tag_id in s7 (T194164)]] (duration: 00m 49s)
Change 467315 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Enable reading from new backend of change_tag in s7
Change 467315 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable reading from new backend of change_tag in s7
Mentioned in SAL (#wikimedia-operations) [2018-10-15T18:59:48Z] <tgr@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:467315|Enable reading from new backend of change_tag in s7 (T194164)]] (duration: 00m 49s)
Going to revert because of:
2018-10-16 06:26:29 [W8WElQpAMFcAAKy-ox4AAAIY] mw1252 hewiki 1.32.0-wmf.24 exception ERROR: [W8WElQpAMFcAAKy-ox4AAAIY] /w/index.php?namespace=lWCq&invert=1%27%3BSELECT%20%28CASE%20WHEN%20%285897%3D5897%29%20THEN%205897%20ELSE%201%2 F%28SELECT%200%29%20END%29--&associated=1&tagfilter=Uvhq&target=%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99&showlinkedto=1&title=%D7%9E%D7%99%D7%95%D7%97%D7%93%3A%D7%A9%D7%99%D7%A0%D7%95%D7%99%D7%99%D7%9D%20%D7%91%D7%93%D7% A4%D7%99%D7%9D%20%D7%94%D7%9E%D7%A7%D7%95%D7%A9%D7%A8%D7%99%D7%9D InvalidArgumentException from line 2139 of /srv/mediawiki/php-1.32.0-wmf.24/includes/libs/rdbms/database/Database.php: Wikimedia\Rdbms\Database::makeList: empty in put for field ct_tag_id {"exception_id":"W8WElQpAMFcAAKy-ox4AAAIY","exception_url":"/w/index.php?namespace=lWCq&invert=1%27%3BSELECT%20%28CASE%20WHEN%20%285897%3D5897%29%20THEN%205897%20E LSE%201%2F%28SELECT%200%29%20END%29--&associated=1&tagfilter=Uvhq&target=%D7%A2%D7%9E%D7%95%D7%93%20%D7%A8%D7%90%D7%A9%D7%99&showlinkedto=1&title=%D7%9E%D7%99%D7%95%D7%97%D7%93%3A%D7%A9%D7%99%D7%A0%D7%95%D7%99%D7%99%D7%9D%20%D7%91%D7%93%D7%A4%D7%99%D7%9D%20%D7%94%D7%9E%D7%A7%D7%95%D7%A9%D7%A8%D7%99%D7%9D","caught_by":"mwe_handler"} [Exception InvalidArgumentException] (/srv/mediawiki/php-1.32.0-wmf.24/includes/libs/rdbms/database/Database.php:2139) Wikimedia\Rdbms\Database::makeList: empty input for field ct_tag_id #0 /srv/mediawiki/php-1.32.0-wmf.24/includes/libs/rdbms/database/Database.php(1732): Wikimedia\Rdbms\Database->makeList(array, integer) #1 /srv/mediawiki/php-1.32.0-wmf.24/includes/specials/SpecialRecentchangeslinked.php(211): Wikimedia\Rdbms\Database->selectSQLText(array, array, array, string, array, array) #2 /srv/mediawiki/php-1.32.0-wmf.24/includes/specialpage/ChangesListSpecialPage.php(934): SpecialRecentChangesLinked->doMainQuery(array, array, array, array, array, FormOptions) #3 /srv/mediawiki/php-1.32.0-wmf.24/includes/specialpage/ChangesListSpecialPage.php(629): ChangesListSpecialPage->getRows() #4 /srv/mediawiki/php-1.32.0-wmf.24/includes/specials/SpecialRecentchanges.php(167): ChangesListSpecialPage->execute(NULL) #5 /srv/mediawiki/php-1.32.0-wmf.24/includes/specialpage/SpecialPage.php(569): SpecialRecentChanges->execute(NULL) #6 /srv/mediawiki/php-1.32.0-wmf.24/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL) #7 /srv/mediawiki/php-1.32.0-wmf.24/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext) #8 /srv/mediawiki/php-1.32.0-wmf.24/includes/MediaWiki.php(868): MediaWiki->performRequest() #9 /srv/mediawiki/php-1.32.0-wmf.24/includes/MediaWiki.php(525): MediaWiki->main() #10 /srv/mediawiki/php-1.32.0-wmf.24/index.php(42): MediaWiki->run() #11 /srv/mediawiki/w/index.php(3): include(string) #12 {main}
Happening about 200/minute per Joe.
Mentioned in SAL (#wikimedia-operations) [2018-10-16T06:32:09Z] <legoktm@deploy1001> Synchronized wmf-config/InitialiseSettings.php: Revert "Enable reading from new backend of change_tag in s7" (T194164) (duration: 00m 50s)
Seems to have started an hour ago, though, not when the patch was deployed: https://logstash.wikimedia.org/goto/ed4d3af593dd6d272ee6b5ef0bed5d67
Yes, they are trying to scan for SQL injections and that's why it started fatal 18 hours after deploying the change (exactly when I was asleep). We should ban them IMO but still it should not trigger fatals. I'm on it.
Change 467666 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/core@master] Avoid fatals when the filter tags is empty
Change 467670 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/core@wmf/1.32.0-wmf.24] Avoid fatals when the filter tags is empty
Change 467666 merged by jenkins-bot:
[mediawiki/core@master] Avoid fatals when the filter tags is empty
Change 467670 merged by Ladsgroup:
[mediawiki/core@wmf/1.32.0-wmf.24] Avoid fatals when the filter tags is empty
Mentioned in SAL (#wikimedia-operations) [2018-10-16T12:03:08Z] <ladsgroup@deploy1001> Synchronized php-1.32.0-wmf.24/includes/changetags/ChangeTags.php: SWAT: [[gerrit:467670|Avoid fatals when the filter tags is empty (T194164)]] (duration: 00m 50s)
Mentioned in SAL (#wikimedia-operations) [2018-10-16T12:08:33Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:467669|Enable reading from new backend of change_tag in s7 (T194164)]] (duration: 00m 50s)
Change 467946 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[operations/mediawiki-config@master] Enable reading from new backend of change tag everywhere
Change 467946 merged by jenkins-bot:
[operations/mediawiki-config@master] Enable reading from new backend of change tag everywhere
Mentioned in SAL (#wikimedia-operations) [2018-10-17T11:40:01Z] <ladsgroup@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:467946|Enable reading from new backend of change tag everywhere (T194164)]] (duration: 00m 57s)
The "start" as described in this ticket is done, I'll file a followup for wikidata.org which was rolled back so it is still not done there yet.