Error
- mwversion: 1.45.0-wmf.11
- timestamp: 2025-07-28T09:16:46.803Z
- phpversion: 8.1.33
- reqId: d050b1f5-ef50-4932-869b-a8bec43efd26
- Find reqId in Logstash
normalized_message
[{reqId}] {exception_url} Wikimedia\Rdbms\DBQueryError: Error 1213: Deadlock found when trying to get lock; try restarting transaction
Function: MediaWiki\User\User::saveSettings
Query: UPDATE `actor` SET actor_name = 'Socks' WHERE actor_user = 7481034Impact
This causes global user rename jobs to get stuck, requiring manual action by a shell user (see T399090).
Additionally (and this will remain even if we fix T399090), it causes the renameuser log entry not to be inserted, and the RenameUserComplete hook not to be fired.
Notes
Relevant code: https://gerrit.wikimedia.org/g/mediawiki/core/+/c7d3d51890ddc05836c600a55e8af227d12a7ce1/includes/RenameUser/RenameuserSQL.php#434
See T399090#11045484 for initial investigation.