Page MenuHomePhabricator

Deadlock detection
Closed, DeclinedPublic

Description

Author: dasch

Description:
It seams to me that there is no deadlock detection in mediawiki software

I sometimes get mysql-errors because of deadlocks, so I hope the deadlock detection could be made better so that normal users does not see error pages and do not know what to do

hopefully this helps
http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html


Version: 1.13.x
Severity: major

Details

Reference
bz16971

Related Objects

StatusSubtypeAssignedTask
OpenNone
DeclinedNone

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:28 PM
bzimport set Reference to bz16971.
bzimport added a subscriber: Unknown Object (MLST).

sumanah wrote:

DaSch, do you still see this in more modern versions of MediaWiki?

MediaWiki can't really detect mysql DB engine level deadlocks, that's the responsibility of the DB. What MediaWiki can do is avoid holding locks for excessive time and use up-front locking in some cases to reduce the chance of deadlocks. They will not be eliminated completely.