Page MenuHomePhabricator

CirrusSearch: Never try to update the same page twice in the same update run
Closed, ResolvedPublic

Description

See this:
2014-06-19 20:03:57 mw1007 enwiki: Update for doc ids: 38124800,38124800; error message was: Error in one or more bulk request actions:

update: /enwiki_content_1401733677/page/38124800 caused VersionConflictEngineException[[enwiki_content_1401733677][5] [page][38124800]: version conflict, current [177], provided [176]]

Why in the world are we trying to update the same page twice? Of course it isn't going to work! Elasticsearch will update the page once and then quickly try again and get a version conflict with the update it just did!


Version: unspecified
Severity: normal

Details

Reference
bz66858

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:26 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz66858.
bzimport added a subscriber: Unknown Object (MLST).

Change 140825 had a related patch set uploaded by Chad:
Prevent duplicate updates

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

Change 140825 merged by jenkins-bot:
Prevent duplicate updates

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