Page MenuHomePhabricator

Deadlock found when trying to get lock
Closed, ResolvedPublic

Description

Author: billlalonde

Description:
Received these messages while trying to save entry:
"Error in numRows(): Deadlock found when trying to get lock; Try restarting
transaction

Backtrace:

Database.php line 490 calls wfdebugdiebacktrace() 
User.php line 445 calls databasemysql::numrows() 
Skin.php line 561 calls user::getnewtalk() 
Skin.php line 409 calls skinstandard::pagetitlelinks() 
Skin.php line 372 calls skinstandard::dobeforecontent() 
Skin.php line 190 calls skinstandard::beforecontent() 
OutputPage.php line 422 calls skinstandard::outputpage() 
OutputPage.php line 611 calls outputpage::output() 
Database.php line 348 calls outputpage::databaseerror() 
Database.php line 297 calls databasemysql::reportqueryerror() 
Database.php line 863 calls databasemysql::query() 
LinksUpdate.php line 79 calls databasemysql::insert() 
index.php line 197 calls linksupdate::doupdate() "

I wasn't able to restart transaction, all text lost. This doesn't seem to be
reproducible.


Version: unspecified
Severity: normal
OS: Windows 98
Platform: PC
URL: http://en.wikipedia.org

Details

Reference
bz1296
TitleReferenceAuthorSource BranchDest Branch
ingress-admission: bump to 0.0.46-20240708121241-4dd9c743repos/cloud/toolforge/toolforge-deploy!399project_1317_bot_df3177307bed93c3f34e421e26c86e38bump_ingress-admissionmain
volume-admission: bump to 0.0.50-20240705111023-80cfa300repos/cloud/toolforge/toolforge-deploy!393project_1317_bot_df3177307bed93c3f34e421e26c86e38bump_volume-admissionmain
wmcs-k8s-metrics: bump kube-state-metrics versionrepos/cloud/toolforge/toolforge-deploy!392sstefanovaslavina/upgrade-k8s-dependenciesmain
registry-admission: bump to 0.0.44-20240705083909-fbafef28repos/cloud/toolforge/toolforge-deploy!390project_1317_bot_df3177307bed93c3f34e421e26c86e38bump_registry-admissionmain
build: update dependenciesrepos/cloud/toolforge/ingress-admission!6sstefanovaslavina/update-dependenciesmaster
build: update dependenciesrepos/cloud/toolforge/volume-admission!12sstefanovaslavina/update-dependenciesmain
dev: update dependenciesrepos/cloud/toolforge/registry-admission!7sstefanovaslavina/update-dependenciesmaster
dev: add kubeVersionrepos/cloud/toolforge/toolforge-deploy!384sstefanovaslavina/add-kubeVersionmain
Upgrade Calico to 3.24repos/cloud/toolforge/calico!4taaviv3-24-1main
docker-hub-mirror: Authenticate with Docker Hubrepos/releng/gitlab-cloud-runner!193dancyreview/dancy/docker-hub-mirror-authmain
docker-hub-mirror: Enable pod admission controllerrepos/releng/gitlab-cloud-runner!192dancyreview/dancy/enable-docker-hub-mirror-admission-controllermain
Add banner to the top of the pagesebastian-berlin-wmse/wikipedia-homepage!18sebastian-berlin-wmsebannermain
add gitlab-ci.yml to be able to push release imagesrepos/releng/docker-gc!2jnuchegitlab-cimaster
docker-gc: add `--use-creation-dates` optionrepos/releng/docker-gc!1jnucheuse-creation-datesmaster
Enable persistent storage for docker-hub-mirrorrepos/releng/gitlab-cloud-runner!159jhuneidimainpre-main
Enable containerd mirror configuration daemonsetrepos/releng/gitlab-cloud-runner!151dancyreview/dancy/enable-docker-hub-mirror-containerd-configmain
Enable persistent storage for docker-hub-mirrorrepos/releng/gitlab-cloud-runner!146dancyreview/dancy/docker-hub-mirror-pvcmain
self-installer: overhaul installation mechanismrepos/releng/scap!90jnuchewheel-installationmaster
add support for new Scap self-installerrepos/releng/scap3-dev!17jnuchenew-installation-supportmaster
.gitlab-ci.yml: fix name of published imagesrepos/releng/scap!88jnuchefix-publish-dist-pipelinemaster
Show related patches Customize query in GitLab

Event Timeline

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

wiki.bugzilla wrote:

The following message seems to be close to the one before. Also reveived after trying to save, but in
http://de.wikipedia.org 2005/01/10. Doesn´t seem to be reproducible, second try to save worked well.

Error in numRows(): Deadlock found when trying to get lock; Try restarting transaction

Backtrace:
Database.php line 490 calls wfdebugdiebacktrace()
Database.php line 578 calls databasemysql::numrows()
LinkCache.php line 150 calls databasemysql::selectfield()
Title.php line 969 calls linkcache::addlinkobj()
Skin.php line 1630 calls title::getarticleid()
SkinTemplate.php line 174 calls skinmonobook::makeurldetails()
OutputPage.php line 422 calls skinmonobook::outputpage()
OutputPage.php line 611 calls outputpage::output()
Database.php line 348 calls outputpage::databaseerror()
Database.php line 297 calls databasemysql::reportqueryerror()
Database.php line 873 calls databasemysql::query()
RecentChange.php line 141 calls databasemysql::update()
RecentChange.php line 210 calls recentchange::save()
Article.php line 1080 calls recentchange::notifyedit()
EditPage.php line 258 calls article::updatearticle()
EditPage.php line 68 calls editpage::editform()
EditPage.php line 115 calls editpage::edit()
index.php line 163 calls editpage::submit()</nowiki>

General lock timeout issues during high load.

  • This bug has been marked as a duplicate of 1274 ***