Page MenuHomePhabricator

Elastica\Exception\Bulk\ResponseException: Error in one or more bulk request actions:update: /plwiki_content_1628314270/page/895743 caused [page][895743]: version conflict, current version [6] is different than the one provided [5] [index: plwiki_content_1628314270]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
Update weighted tag {weightedTagFieldName} for {weightedTagPrefix} in articles: {documents}
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.20/vendor/ruflin/elastica/lib/Elastica/Bulk.php(411)
#0 /srv/mediawiki/php-1.37.0-wmf.20/vendor/ruflin/elastica/lib/Elastica/Bulk.php(360): Elastica\Bulk->_processResponse(Elastica\Response)
#1 /srv/mediawiki/php-1.37.0-wmf.20/extensions/CirrusSearch/includes/DataSender.php(227): Elastica\Bulk->send()
#2 /srv/mediawiki/php-1.37.0-wmf.20/extensions/CirrusSearch/includes/DataSender.php(278): CirrusSearch\DataSender->sendUpdateWeightedTags(string, array, string, string, array, NULL, integer)
#3 /srv/mediawiki/php-1.37.0-wmf.20/extensions/CirrusSearch/includes/Job/ElasticaWrite.php(136): CirrusSearch\DataSender->sendResetWeightedTags(string, array, string, string)
#4 /srv/mediawiki/php-1.37.0-wmf.20/extensions/CirrusSearch/includes/Job/JobTraits.php(136): CirrusSearch\Job\ElasticaWrite->doJob()
#5 /srv/mediawiki/php-1.37.0-wmf.20/extensions/EventBus/includes/JobExecutor.php(79): CirrusSearch\Job\CirrusGenericJob->run()
#6 /srv/mediawiki/rpc/RunSingleJob.php(76): MediaWiki\Extension\EventBus\JobExecutor->execute(array)
#7 {main}
Impact

Weighted tags aren't updated for an article (or multiple articles in a batch?). Possibly involved in errors for T291253: UnexpectedValueException: Tried to submit link suggestion reviews for revision "31193961" which has already been reviewed.

Notes

Seems to have stopped on September 2. Was there a config or code change, or might we expect it to re-occur?

Details

Request URL
https://jobrunner.discovery.wmnet/rpc/RunSingleJob.php

Event Timeline

kostajh created this task.

Having found a solution to T291253: UnexpectedValueException: Tried to submit link suggestion reviews for revision "31193961" which has already been reviewed (see T291253#7374434) this is task is probably not a priority to look into, but keeping open in case it's noteworthy to Discovery-Search team.

@kostajh , It sounds like this issue has been resolved? if so, i'll link to it for the team in case it's of interest, but will close the ticket out as resolved

kostajh claimed this task.

@kostajh , It sounds like this issue has been resolved? if so, i'll link to it for the team in case it's of interest, but will close the ticket out as resolved

Yeah I think we can mark it as resolved, just wanted to give your team a heads up in case there is something problematic here.