Page MenuHomePhabricator

Fatal DBQueryError exception: Lock wait timeout exceeded in MessageGroups::setPriority
Open, Needs TriagePublic

Description

On mediawiki.org, on discouraging the page from translation, the following exception appeared:

A database query error has occurred.This may indicate a bug in the software.
[XU@ALQpAICAAAIJ1i0MAAAAO] 2019-08-11 02:41:01: Fatal exception of type "Wikimedia\Rdbms\DBQueryError"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 11 2019, 2:46 AM

These are the actual details of the stack trace:

 exception.file	       	/srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/Database.php:1596

  exception.message	       	A database query error has occurred. Did you forget to run your application's database schema updater after upgrading? 
Query: REPLACE INTO `translate_groupreviews` (tgr_group,tgr_lang,tgr_state) VALUES ('page-Category:ParserBeforeInternalParse extensions','*priority','discouraged')
Function: MessageGroups::setPriority
Error: 1205 Lock wait timeout exceeded; try restarting transaction (10.64.0.205)

t  exception.trace	       	#0 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/Database.php(1567): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#1 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/Database.php(1156): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/Database.php(2922): Wikimedia\Rdbms\Database->query(string, string)
#3 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/DatabaseMysqlBase.php(454): Wikimedia\Rdbms\Database->nativeReplace(string, array, string)
#4 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\DatabaseMysqlBase->replace(string, array, array, string)
#5 /srv/mediawiki/php-1.34.0-wmf.17/includes/libs/rdbms/database/DBConnRef.php(485): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#6 /srv/mediawiki/php-1.34.0-wmf.17/extensions/Translate/MessageGroups.php(437): Wikimedia\Rdbms\DBConnRef->replace(string, array, array, string)
#7 /srv/mediawiki/php-1.34.0-wmf.17/extensions/Translate/tag/SpecialPageTranslation.php(107): MessageGroups::setPriority(string, string)
#8 /srv/mediawiki/php-1.34.0-wmf.17/includes/specialpage/SpecialPage.php(571): SpecialPageTranslation->execute(NULL)
#9 /srv/mediawiki/php-1.34.0-wmf.17/includes/specialpage/SpecialPageFactory.php(581): SpecialPage->run(NULL)
#10 /srv/mediawiki/php-1.34.0-wmf.17/includes/MediaWiki.php(296): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#11 /srv/mediawiki/php-1.34.0-wmf.17/includes/MediaWiki.php(892): MediaWiki->performRequest()
#12 /srv/mediawiki/php-1.34.0-wmf.17/includes/MediaWiki.php(523): MediaWiki->main()
#13 /srv/mediawiki/php-1.34.0-wmf.17/index.php(42): MediaWiki->run()
#14 /srv/mediawiki/w/index.php(3): include(string)
#15 {main}

Was this something that kept happening? Did you retry and it still didn't work?

abi_ added a subscriber: abi_.Aug 13 2019, 4:04 AM
Krinkle renamed this task from Fatal exception type Wikimedia\Rdbms\DBQueryError to Fatal DBQueryError exception: Lock wait timeout exceeded in MessageGroups::setPriority.Aug 16 2019, 11:07 AM
mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:05 PM