A baseline of these exceptions is almost always present, but when compared to the last 12 hours there seems to be a significant increase:
exception.class is one of Wikimedia\Rdbms\DBTransactionStateError, Wikimedia\Rdbms\DBQueryError
Sample error
- mwversion: 1.41.0-wmf.2
- reqId: 828ed717-77f2-48da-a4f9-cffd759c364e
- Find reqId in Logstash
[{reqId}] {exception_url} Wikimedia\Rdbms\DBQueryError: Error 1205: Lock wait timeout exceeded; try restarting transaction Function: MediaWiki\Extension\DiscussionTools\ThreadItemStore::insertThreadItems Query: INSERT INTO `discussiontools_item_ids` (it
from /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/Database.php(1523) #0 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/Database.php(1507): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string) #1 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/Database.php(1481): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string) #2 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/Database.php(854): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean) #3 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/DatabaseMysqlBase.php(587): Wikimedia\Rdbms\Database->query(string, string, integer) #4 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/Database.php(1885): Wikimedia\Rdbms\DatabaseMysqlBase->doUpsert(string, array, array, array, string) #5 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->upsert(string, array, string, array, string) #6 /srv/mediawiki/php-1.41.0-wmf.2/includes/libs/rdbms/database/DBConnRef.php(551): Wikimedia\Rdbms\DBConnRef->__call(string, array) #7 /srv/mediawiki/php-1.41.0-wmf.2/extensions/DiscussionTools/includes/ThreadItemStore.php(383): Wikimedia\Rdbms\DBConnRef->upsert(string, array, string, array, string) #8 /srv/mediawiki/php-1.41.0-wmf.2/extensions/DiscussionTools/includes/Hooks/DataUpdatesHooks.php(48): MediaWiki\Extension\DiscussionTools\ThreadItemStore->insertThreadItems(MediaWiki\Revision\RevisionStoreRecord, MediaWiki\Extension\DiscussionTools\ContentThreadItemSet) #9 /srv/mediawiki/php-1.41.0-wmf.2/includes/deferred/MWCallableUpdate.php(38): MediaWiki\Extension\DiscussionTools\Hooks\DataUpdatesHooks->MediaWiki\Extension\DiscussionTools\Hooks\{closure}() #10 /srv/mediawiki/php-1.41.0-wmf.2/includes/deferred/DeferredUpdates.php(473): MWCallableUpdate->doUpdate() #11 /srv/mediawiki/php-1.41.0-wmf.2/includes/deferred/RefreshSecondaryDataUpdate.php(103): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti) #12 /srv/mediawiki/php-1.41.0-wmf.2/includes/deferred/DeferredUpdates.php(473): RefreshSecondaryDataUpdate->doUpdate() #13 /srv/mediawiki/php-1.41.0-wmf.2/includes/Storage/DerivedPageDataUpdater.php(1836): DeferredUpdates::attemptUpdate(RefreshSecondaryDataUpdate, Wikimedia\Rdbms\LBFactoryMulti) #14 /srv/mediawiki/php-1.41.0-wmf.2/includes/page/WikiPage.php(2145): MediaWiki\Storage\DerivedPageDataUpdater->doSecondaryDataUpdates(array) #15 /srv/mediawiki/php-1.41.0-wmf.2/includes/jobqueue/jobs/RefreshLinksJob.php(244): WikiPage->doSecondaryDataUpdates(array) #16 /srv/mediawiki/php-1.41.0-wmf.2/includes/jobqueue/jobs/RefreshLinksJob.php(153): RefreshLinksJob->runForTitle(MediaWiki\Title\Title) #17 /srv/mediawiki/php-1.41.0-wmf.2/extensions/EventBus/includes/JobExecutor.php(79): RefreshLinksJob->run() #18 /srv/mediawiki/rpc/RunSingleJob.php(77): MediaWiki\Extension\EventBus\JobExecutor->execute(array) #19 {main}