Last modified: 2014-09-08 15:26:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72221, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70221 - internal_api_error_DBQueryError on page edit; db1024
internal_api_error_DBQueryError on page edit; db1024
Status: UNCONFIRMED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://fi.wikipedia.org/wiki/Wikiped...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-30 23:16 UTC by Dan Michael Heggø
Modified: 2014-09-08 15:26 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Michael Heggø 2014-08-30 23:16:53 UTC
My bot has been getting 'internal_api_error_DBQueryError' while trying to update a page on Finnish Wikipedia for several hours now. I tried dumping the text to a file and saving it myself, but I got the same error:

Function: WikiPage::updateRevisionOn
Error: 1205 Lock wait timeout exceeded; try restarting transaction (10.64.16.13)

This happens when trying to update [[Wikipedia:Viikon kilpailu/Viikon kilpailu 2014-35]]. Storing the same text to a sandbox page [[Käyttäjä:Danmichaelo/Sandbox]] works fine.
Comment 1 Dan Michael Heggø 2014-08-31 09:30:04 UTC
It started working again at 03:13 UTC. I got the error first at 19:13 UTC, so the lock lasted for ~ 8 hours or more. It is possible to configure such a look, whatever caused it, to timeout faster?
Comment 2 Andre Klapper 2014-08-31 13:01:27 UTC
Do you know which specific servers were hit (like "mw1234")?
Comment 3 Dan Michael Heggø 2014-08-31 20:19:54 UTC
Only know the IP I included in my first message, 10.64.16.13, which seems to be db1024.
Comment 4 Andre Klapper 2014-08-31 21:25:52 UTC
Unsure whether to put this API or DB or Page editing territory, meh.

Looking at https://fi.wikipedia.org/w/index.php?title=Wikipedia:Viikon_kilpailu/Viikon_kilpailu_2014-35&action=history I assume this is about UKBot?

(In reply to Dan Michael Heggø from comment #1)
> It started working again at 03:13 UTC.

Wondering if the diff size (+40499) comes into play here...

Also see bug 37519 comment 13.
Comment 5 Dan Michael Heggø 2014-08-31 23:55:26 UTC
It's about UKBot, yes. However, once the page was locked, noone else could edit it either. What puzzles me the most is that the lock lasted for so many hours.
Comment 6 Brad Jorsch 2014-09-04 14:39:01 UTC
(In reply to Andre Klapper from comment #4)
> Unsure whether to put this API or DB or Page editing territory, meh.

Not API, the API just calls into the core page editing code. The error itself was coming from the database layer, although the base cause for the lock wait timeout might be elsewhere (e.g. something else holding a lock for far too long).

I removed "via bot" from the bug title since comment 0 implies that the same error was received when editing via the UI.
Comment 7 Andre Klapper 2014-09-08 15:26:34 UTC
(In reply to Brad Jorsch from comment #6)
> The error itself was coming from the database layer, although the base 
> cause for the lock wait timeout might be elsewhere (e.g. something else
> holding a lock for far too long).

Thanks.

Might be hard to track down now that the problem is gone. :-/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links