Page MenuHomePhabricator

Function: LocalFile::lock: Lock wait timeout exceeded
Closed, DeclinedPublic

Description

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: SELECT 1 FROM image WHERE img_name = 'Jyotiraditya_Scindia.jpg' LIMIT 1 FOR UPDATE
Function: LocalFile::lock
Error: 1205 Lock wait timeout exceeded; try restarting transaction (10.0.6.41)

while uploading over https://commons.wikimedia.org/wiki/File:Jyotiraditya_Scindia.jpg


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56487

Details

Reference
bz40843

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:05 AM
bzimport set Reference to bz40843.
bzimport added a subscriber: Unknown Object (MLST).

Yeah, some ongoing but known issues

(In reply to comment #0)

Function: LocalFile::lock
Error: 1205 Lock wait timeout exceeded; try restarting transaction

Wondering if bug 31792 comment 25 is relevant here.

That last 2 months of DB errors logs only show 14 such errors, which is fairly low. Deadlocks will always happen from time to time, but should not be frequent.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:23 AM