Last modified: 2013-11-26 18:15:52 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 T22468, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20468 - User::invalidateCache throws 1205: Lock wait timeout exceeded
User::invalidateCache throws 1205: Lock wait timeout exceeded
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.21.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 23339 28499
  Show dependency treegraph
 
Reported: 2009-09-01 20:20 UTC by Siebrand Mazeland
Modified: 2013-11-26 18:15 UTC (History)
4 users (show)

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


Attachments

Description Siebrand Mazeland 2009-09-01 20:20:21 UTC
Loading 4 pages in the French Wikipedia just a few minutes ago (logged in with Wikimedia SUL), I got the following error on the last 2 tabs that were opened (logging pasted into #wikimedia-tech by domas): 
Tue Sep 1 20:10:03 UTC 2009	srv151	frwiki	User::invalidateCache	10.0.6.21	1205	Lock wait timeout exceeded; Try restarting transaction (10.0.6.21)	UPDATE  `user` SET user_touched = '20090901200957' WHERE user_id = '115175'
Tue Sep 1 20:10:04 UTC 2009	srv120	frwiki	User::invalidateCache	10.0.6.21	1205	Lock wait timeout exceeded; Try restarting transaction (10.0.6.21)	UPDATE  `user` SET user_touched = '20090901200958' WHERE user_id = '115175'

<domas> we don't have too many of these. So we didn't really bother yet :) But I keep seeing these locks. Resolving them would be nice

Links to pages (if at all important):
* http://fr.wikipedia.org/wiki/The_Beatles
* http://fr.wikipedia.org/wiki/Marilyn_Monroe
* http://fr.wikipedia.org/wiki/%C3%89mile_Zola
* http://fr.wikipedia.org/wiki/Paris
Comment 1 Sam Reed (reedy) 2011-04-11 12:57:03 UTC
r85783
Comment 2 Sam Reed (reedy) 2011-04-11 18:29:33 UTC
Reopened r85809
Comment 3 Sam Reed (reedy) 2011-05-02 20:30:45 UTC
Limited the calls actually doing a damned database update in r87292
Comment 5 Brion Vibber 2011-06-07 20:59:09 UTC
r85783 is marked as a FIXME for the unclear parameter and question as to whether this actually takes effect.
Comment 6 Brion Vibber 2011-06-07 20:59:31 UTC
Rather... r87292 is marked fixme. :P
Comment 7 Mark A. Hershberger 2011-06-15 19:40:24 UTC
(In reply to comment #6)
> Rather... r87292 is marked fixme. :P

reverted now.
Comment 8 Mark A. Hershberger 2011-12-20 21:08:56 UTC
Changing default assignee per IRC
Comment 9 Niklas Laxström 2012-11-06 10:13:33 UTC
Just got this:

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: UPDATE `user` SET user_touched = '20121106100930' WHERE user_id = '205569' AND (user_touched < '20121106100930')
Function: User::invalidateCache
Error: 1205 Lock wait timeout exceeded; try restarting transaction (10.0.6.47)
Comment 10 Aaron Schulz 2013-11-26 18:15:52 UTC
I don't see much of this in the logs. Assuming commit d3281c2 fixes this.

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


Navigation
Links