Page MenuHomePhabricator

CAS update failed on user_touched. The version of the user to be saved is older than the current version.
Closed, ResolvedPublic

Description

Error

MediaWiki version: 1.35.0-wmf.15

message
CAS update failed on user_touched. The version of the user to be saved is older than the current version.

Impact

The tutorial visit preference is not saved.

Notes

Need to get instance for update, I think.

Details

Request ID
XiOPfApAADwAAFg4hgkAAAEO
Request URL
https://ar.wikipedia.org/wiki/%D8%AE%D8%A7%D8%B5:%D8%B5%D9%81%D8%AD%D8%A9_%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AF%D8%B1%D9%88%D8%B3
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.35.0-wmf.15/includes/libs/rdbms/database/Database.php(3987): User->{closure}(Wikimedia\Rdbms\DatabaseMysqli, string)
#1 /srv/mediawiki/php-1.35.0-wmf.15/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->doAtomicSection(string, Closure)
#2 /srv/mediawiki/php-1.35.0-wmf.15/includes/libs/rdbms/database/DBConnRef.php(638): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#3 /srv/mediawiki/php-1.35.0-wmf.15/includes/user/User.php(4055): Wikimedia\Rdbms\DBConnRef->doAtomicSection(string, Closure)
#4 /srv/mediawiki/php-1.35.0-wmf.15/extensions/GrowthExperiments/includes/Specials/SpecialHomepage.php(107): User->saveSettings()
#5 /srv/mediawiki/php-1.35.0-wmf.15/includes/deferred/MWCallableUpdate.php(38): GrowthExperiments\Specials\SpecialHomepage->GrowthExperiments\Specials\{closure}()
#6 /srv/mediawiki/php-1.35.0-wmf.15/includes/deferred/DeferredUpdates.php(420): MWCallableUpdate->doUpdate()
#7 /srv/mediawiki/php-1.35.0-wmf.15/includes/deferred/DeferredUpdates.php(296): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#8 /srv/mediawiki/php-1.35.0-wmf.15/includes/deferred/DeferredUpdates.php(233): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string)
#9 /srv/mediawiki/php-1.35.0-wmf.15/includes/deferred/DeferredUpdates.php(150): DeferredUpdates::handleUpdateQueue(array, string, integer)
#10 /srv/mediawiki/php-1.35.0-wmf.15/includes/MediaWiki.php(1053): DeferredUpdates::doUpdates(string)
#11 /srv/mediawiki/php-1.35.0-wmf.15/includes/MediaWiki.php(833): MediaWiki->restInPeace()
#12 /srv/mediawiki/php-1.35.0-wmf.15/includes/MediaWiki.php(842): MediaWiki->{closure}()
#13 /srv/mediawiki/php-1.35.0-wmf.15/includes/MediaWiki.php(569): MediaWiki->doPostOutputShutdown()
#14 /srv/mediawiki/php-1.35.0-wmf.15/index.php(46): MediaWiki->run()
#15 /srv/mediawiki/w/index.php(3): require(string)
#16 {main}
Related Gerrit Patches:
mediawiki/extensions/GrowthExperiments : masterHomepage: Use getInstanceForUpdate when handling tutorial visits

Event Timeline

kostajh created this task.Jan 20 2020, 2:18 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 20 2020, 2:18 PM

Change 566039 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/extensions/GrowthExperiments@master] Homepage: Use getInstanceForUpdate when handling tutorial visits

https://gerrit.wikimedia.org/r/566039

Change 566039 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Homepage: Use getInstanceForUpdate when handling tutorial visits

https://gerrit.wikimedia.org/r/566039

Etonkovidova closed this task as Resolved.Tue, Feb 4, 11:36 PM