Error
- mwversion: 1.46.0-wmf.3
- timestamp: 2025-11-27T06:56:14.275Z
- phpversion: 8.3.26
- reqId: ec99eb44-3fd2-4b04-ab9a-64ccaff9804b
- Find reqId in Logstash
normalized_message
[{reqId}] {exception_url} Wikimedia\Rdbms\DBQueryError: Error 1205: Lock wait timeout exceeded; try restarting transaction
Function: MediaWiki\Page\WikiPage::insertOn
Query: INSERT IGNORE INTO `page` (page_namespace,page_title,page_is_redirect,page_is_nImpact
Notes
Steps to replicate the issue (include links if applicable):
- Access https://tok.wikipedia.org/wiki/Special:Import on an account with suitable permissions
- Attempt import
any of the following from enwiki: Module:Wikidata; Module:I18n; Template:Documentationseemingly any page? - Check all three checkboxes
What happens?:
A 503 error occurs. Representative examples:
Request served via cp5023 cp5023, Varnish XID 940773696 Error: 503, Backend fetch failed at Thu, 27 Nov 2025 05:33:05 GMT
Request served via cp5022 cp5022, Varnish XID 552955869 Error: 503, Backend fetch failed at Thu, 27 Nov 2025 08:47:08 GMT
According to @Soda, this is likely a 500 error on the backend from timing out. This seems likely, as if I switch to importing just the most recent revision, I still get an error about half the time, which is sometimes an explicit timeout error.
[ec99eb44-3fd2-4b04-ab9a-64ccaff9804b] 2025-11-27 06:56:14: pakala moli pi kulupu "Wikimedia\Rdbms\DBQueryError"
[3cdce11f-977a-413f-bea5-7736e21e4df1] 2025-11-27 07:14:23: pakala moli pi kulupu "Wikimedia\Rdbms\DBTransactionSizeError"
("pakala moli" = "fatal error")
Other information (browser name/version, screenshots, etc.):
I initially filed this as about "large imports", but then I hit the second 503 quoted above, on the very small import [[en:Module:Wd/doc]], so this seems to just be about any multi-rev import.
Note that tokwiki was only created recently (T404457), which may have something to do with this.