Page MenuHomePhabricator

Fatal error MWException when using [[Special:NotifyTranslators]] on Meta: "CAS update failed on user_touched"
Open, HighPublic

Description

I just hit

[732313cd] 2016-03-07 12:06:54: Erreur fatale de type « MWException »

When marking for translation on https://meta.wikimedia.org/w/index.php?title=Special:NotifyTranslators&tpage=9967716

Event Timeline

JeanFred created this task.Mar 7 2016, 12:08 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 7 2016, 12:08 PM
2016-03-07 12:06:54 mw1214 metawiki 1.27.0-wmf.15 exception ERROR: [732313cd] /wiki/Special:NotifyTranslators   MWException from line 3809 of /srv/mediawiki/php-1.27.0-wmf.15/includes/user/User.php: CAS update failed on user_touched for user ID '641408' (read from slave); the version of the user to be saved is older than the current version. {"exception_id":"732313cd"} 
[Exception MWException] (/srv/mediawiki/php-1.27.0-wmf.15/includes/user/User.php:3809) CAS update failed on user_touched for user ID '641408' (read from slave); the version of the user to be saved is older than the current version.
  #0 /srv/mediawiki/php-1.27.0-wmf.15/extensions/TranslationNotifications/SpecialNotifyTranslators.php(291): User->saveSettings()
  #1 /srv/mediawiki/php-1.27.0-wmf.15/includes/htmlform/HTMLForm.php(607): SpecialNotifyTranslators->submitNotifyTranslatorsForm(array, HTMLForm)
  #2 /srv/mediawiki/php-1.27.0-wmf.15/includes/htmlform/HTMLForm.php(504): HTMLForm->trySubmit()
  #3 /srv/mediawiki/php-1.27.0-wmf.15/extensions/TranslationNotifications/SpecialNotifyTranslators.php(70): HTMLForm->tryAuthorizedSubmit()
  #4 /srv/mediawiki/php-1.27.0-wmf.15/includes/specialpage/SpecialPage.php(407): SpecialNotifyTranslators->execute(NULL)
  #5 /srv/mediawiki/php-1.27.0-wmf.15/includes/specialpage/SpecialPageFactory.php(565): SpecialPage->run(NULL)
  #6 /srv/mediawiki/php-1.27.0-wmf.15/includes/MediaWiki.php(282): SpecialPageFactory::executePath(Title, RequestContext)
  #7 /srv/mediawiki/php-1.27.0-wmf.15/includes/MediaWiki.php(738): MediaWiki->performRequest()
  #8 /srv/mediawiki/php-1.27.0-wmf.15/includes/MediaWiki.php(519): MediaWiki->main()
Elitre added a subscriber: Elitre.Mar 9 2016, 10:36 AM
Aklapper renamed this task from Fatal error « MWException » when using [[Special:NotifyTranslators]] on Meta to Fatal error MWException when using [[Special:NotifyTranslators]] on Meta: "CAS update failed on user_touched".Jul 20 2017, 9:54 AM

We should probably stop storing translationnotifications-timestamp as a user preference and instead do something similar to what Echo does for storing last seen time (https://phabricator.wikimedia.org/diffusion/ECHO/browse/master/includes/SeenTime.php)

MarcoAurelio triaged this task as High priority.Feb 4 2018, 9:56 AM
mmodell changed the subtype of this task from "Task" to "Production Error".Wed, Aug 28, 11:11 PM