Page MenuHomePhabricator

Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from GrowthExperiments\Maintenance\UpdateMenteeData while transaction status is ERROR
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Wikimedia\Rdbms\DBTransactionStateError: Cannot execute query from GrowthExperiments\Maintenance\UpdateMenteeData while transaction status is ERROR
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(1619)
#0 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(1320): Wikimedia\Rdbms\Database->assertQueryIsCurrentlyAllowed(string, string)
#1 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(4972): Wikimedia\Rdbms\Database->query(string, string, integer)
#2 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(4936): Wikimedia\Rdbms\Database->doCommit(string)
#3 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1842): Wikimedia\Rdbms\Database->commit(string, string)
#4 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/loadbalancer/LoadBalancer.php(2344): Wikimedia\Rdbms\LoadBalancer->Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\DatabaseMysqli)
#5 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1847): Wikimedia\Rdbms\LoadBalancer->forEachOpenPrimaryConnection(Closure)
#6 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/lbfactory/LBFactory.php(249): Wikimedia\Rdbms\LoadBalancer->commitPrimaryChanges(string, integer)
#7 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/lbfactory/LBFactoryMulti.php(236): Wikimedia\Rdbms\LBFactory::Wikimedia\Rdbms\{closure}(Wikimedia\Rdbms\LoadBalancer, string, array)
#8 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/lbfactory/LBFactory.php(251): Wikimedia\Rdbms\LBFactoryMulti->forEachLB(Closure, array)
#9 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/lbfactory/LBFactory.php(319): Wikimedia\Rdbms\LBFactory->forEachLBCallMethod(string, array)
#10 /srv/mediawiki/php-1.38.0-wmf.7/maintenance/includes/Maintenance.php(1248): Wikimedia\Rdbms\LBFactory->commitPrimaryChanges(string)
#11 /srv/mediawiki/php-1.38.0-wmf.7/maintenance/doMaintenance.php(130): Maintenance->shutdown()
#12 /srv/mediawiki/php-1.38.0-wmf.7/extensions/GrowthExperiments/maintenance/updateMenteeData.php(189): require_once(string)
#13 /srv/mediawiki/multiversion/MWScript.php(116): require_once(string)
#14 {main}
exception.previous.trace
from /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(4775)
#0 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/Database.php(4807): Wikimedia\Rdbms\Database->cancelAtomic(string, Wikimedia\Rdbms\AtomicSectionIdentifier)
#1 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure)
#2 /srv/mediawiki/php-1.38.0-wmf.7/includes/libs/rdbms/database/DBConnRef.php(668): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#3 /srv/mediawiki/php-1.38.0-wmf.7/includes/user/User.php(3283): Wikimedia\Rdbms\DBConnRef->doAtomicSection(string, Closure)
#4 /srv/mediawiki/php-1.38.0-wmf.7/extensions/GrowthExperiments/includes/MentorDashboard/MenteeOverview/MenteeOverviewDataUpdater.php(179): User->saveSettings()
#5 /srv/mediawiki/php-1.38.0-wmf.7/extensions/GrowthExperiments/maintenance/updateMenteeData.php(123): GrowthExperiments\MentorDashboard\MenteeOverview\MenteeOverviewDataUpdater->updateDataForMentor(User)
#6 /srv/mediawiki/php-1.38.0-wmf.7/maintenance/doMaintenance.php(108): GrowthExperiments\Maintenance\UpdateMenteeData->execute()
#7 /srv/mediawiki/php-1.38.0-wmf.7/extensions/GrowthExperiments/maintenance/updateMenteeData.php(189): require_once(string)
#8 /srv/mediawiki/multiversion/MWScript.php(116): require_once(string)
#9 {main}
Impact
Notes

On wmf.7 there were 5 errors (the last timestamp - Nov 15, 2021 @ 09:18:31).