11:16:40 mw-dberror.log:Sat Aug 10 9:11:11 UTC 2024 b38baf554109 wikidb Error 1213 from MediaWiki\User\User::addToDatabase, Deadlock found when trying to get lock; try restarting transaction INSERT IGNORE INTO `user` (user_name,user_password,user_newpassword,user_email,user_email_authenticated,user_real_name,user_token,user_registration,user_editcount,user_touched,user_is_temp) VALUES ('R2d2lv01RnaG78','','','',NULL,'','290a278a579aab4cd56fa6182ee57c7a','20240810091111',0,'20240810091111',0) localhost:/workspace/db/quibble-mysql-2n3ejrdt/socket 11:16:40 mw-dberror.log:#0 /workspace/src/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, int, string, string) 11:16:40 mw-dberror.log:#1 /workspace/src/includes/libs/rdbms/database/Database.php(643): Wikimedia\Rdbms\Database->reportQueryError(string, int, string, string, bool) 11:16:40 mw-dberror.log:#2 /workspace/src/includes/libs/rdbms/database/Database.php(1472): Wikimedia\Rdbms\Database->query(Wikimedia\Rdbms\Query, string) 11:16:40 mw-dberror.log:#3 /workspace/src/includes/libs/rdbms/querybuilder/InsertQueryBuilder.php(343): Wikimedia\Rdbms\Database->insert(string, array, string, array) 11:16:40 mw-dberror.log:#4 /workspace/src/includes/user/User.php(2613): Wikimedia\Rdbms\InsertQueryBuilder->execute() 11:16:40 mw-dberror.log:#5 /workspace/src/includes/libs/rdbms/database/Database.php(2276): MediaWiki\User\User->MediaWiki\User\{closure}(Wikimedia\Rdbms\DatabaseMySQL, string) 11:16:40 mw-dberror.log:#6 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(127): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure) 11:16:40 mw-dberror.log:#7 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(665): Wikimedia\Rdbms\DBConnRef->__call(string, array) 11:16:40 mw-dberror.log:#8 /workspace/src/includes/user/User.php(2640): Wikimedia\Rdbms\DBConnRef->doAtomicSection(string, Closure) 11:16:40 mw-dberror.log:#9 /workspace/src/includes/auth/AuthManager.php(1641): MediaWiki\User\User->addToDatabase() 11:16:40 mw-dberror.log:#10 /workspace/src/includes/auth/AuthManager.php(1364): MediaWiki\Auth\AuthManager->continueAccountCreation(array) 11:16:40 mw-dberror.log:#11 /workspace/src/includes/api/ApiAMCreateAccount.php(104): MediaWiki\Auth\AuthManager->beginAccountCreation(MediaWiki\User\User, array, string) 11:16:40 mw-dberror.log:#12 /workspace/src/includes/api/ApiMain.php(1948): ApiAMCreateAccount->execute() 11:16:40 mw-dberror.log:#13 /workspace/src/includes/api/ApiMain.php(926): ApiMain->executeAction() 11:16:40 mw-dberror.log:#14 /workspace/src/includes/api/ApiMain.php(897): ApiMain->executeActionWithErrorHandling() 11:16:40 mw-dberror.log:#15 /workspace/src/includes/api/ApiEntryPoint.php(153): ApiMain->execute() 11:16:40 mw-dberror.log:#16 /workspace/src/includes/MediaWikiEntryPoint.php(200): MediaWiki\Api\ApiEntryPoint->execute() 11:16:40 mw-dberror.log:#17 /workspace/src/api.php(44): MediaWiki\MediaWikiEntryPoint->run() 11:16:40 mw-dberror.log:#18 {main} 11:16:40 mw-error.log:2024-08-10 09:11:11 b38baf554109 wikidb: [4562b3b90734d7f056badc6b] /api.php Wikimedia\Rdbms\DBQueryError: Error 1213: Deadlock found when trying to get lock; try restarting transaction 11:16:40 mw-error.log:Function: MediaWiki\User\User::addToDatabase 11:16:40 mw-error.log:Query: INSERT IGNORE INTO `user` (user_name,user_password,user_newpassword,user_email,user_email_authenticated,user_real_name,user_token,user_registration,user_editcount,user_touched,user_is_temp) VALUES ('R2d2lv01RnaG78','','','',NULL,'','290a278a579aab4cd56fa6182ee57c7a','20240810091111',0,'20240810091111',0) 11:16:40 mw-error.log:#0 /workspace/src/includes/libs/rdbms/database/Database.php(1178): Wikimedia\Rdbms\Database->getQueryException(string, int, string, string) 11:16:40 mw-error.log:#1 /workspace/src/includes/libs/rdbms/database/Database.php(1152): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, int, string, string) 11:16:40 mw-error.log:#2 /workspace/src/includes/libs/rdbms/database/Database.php(643): Wikimedia\Rdbms\Database->reportQueryError(string, int, string, string, bool) 11:16:40 mw-error.log:#3 /workspace/src/includes/libs/rdbms/database/Database.php(1472): Wikimedia\Rdbms\Database->query(Wikimedia\Rdbms\Query, string) 11:16:40 mw-error.log:#4 /workspace/src/includes/libs/rdbms/querybuilder/InsertQueryBuilder.php(343): Wikimedia\Rdbms\Database->insert(string, array, string, array) 11:16:40 mw-error.log:#5 /workspace/src/includes/user/User.php(2613): Wikimedia\Rdbms\InsertQueryBuilder->execute() 11:16:40 mw-error.log:#6 /workspace/src/includes/libs/rdbms/database/Database.php(2276): MediaWiki\User\User->MediaWiki\User\{closure}(Wikimedia\Rdbms\DatabaseMySQL, string) 11:16:40 mw-error.log:#7 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(127): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure) 11:16:40 mw-error.log:#8 /workspace/src/includes/libs/rdbms/database/DBConnRef.php(665): Wikimedia\Rdbms\DBConnRef->__call(string, array) 11:16:40 mw-error.log:#9 /workspace/src/includes/user/User.php(2640): Wikimedia\Rdbms\DBConnRef->doAtomicSection(string, Closure) 11:16:40 mw-error.log:#10 /workspace/src/includes/auth/AuthManager.php(1641): MediaWiki\User\User->addToDatabase() 11:16:40 mw-error.log:#11 /workspace/src/includes/auth/AuthManager.php(1364): MediaWiki\Auth\AuthManager->continueAccountCreation(array) 11:16:40 mw-error.log:#12 /workspace/src/includes/api/ApiAMCreateAccount.php(104): MediaWiki\Auth\AuthManager->beginAccountCreation(MediaWiki\User\User, array, string) 11:16:40 mw-error.log:#13 /workspace/src/includes/api/ApiMain.php(1948): ApiAMCreateAccount->execute() 11:16:40 mw-error.log:#14 /workspace/src/includes/api/ApiMain.php(926): ApiMain->executeAction() 11:16:40 mw-error.log:#15 /workspace/src/includes/api/ApiMain.php(897): ApiMain->executeActionWithErrorHandling() 11:16:40 mw-error.log:#16 /workspace/src/includes/api/ApiEntryPoint.php(153): ApiMain->execute() 11:16:40 mw-error.log:#17 /workspace/src/includes/MediaWikiEntryPoint.php(200): MediaWiki\Api\ApiEntryPoint->execute() 11:16:40 mw-error.log:#18 /workspace/src/api.php(44): MediaWiki\MediaWikiEntryPoint->run() 11:16:40 mw-error.log:#19 {main}
Happened at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/1061090.