Page MenuHomePhabricator

[Bug] wbc_entity_usage table gets new rows with ancient eu_touched date
Closed, ResolvedPublic

Description

Sometimes a new row with a rather old eu_touched date. The date does not correspond to the current revision of the page referenced by eu_page_id, but to a previous revision.

Suspicion: StashEdit triggers the new row to be inserted, using the "current" revision's date as the touch date, which is the last revision before the edit. Using wfTimeNow() is a possible fix, but we should make sure it's the Right Thing.

Event Timeline

daniel assigned this task to Jonas.
daniel raised the priority of this task from to Unbreak Now!.
daniel updated the task description. (Show Details)
daniel added subscribers: gerritbot, daniel, Tobi_WMDE_SW and 5 others.
thiemowmde set Security to None.
thiemowmde removed a subscriber: gerritbot.

Change 244220 had a related patch set uploaded (by Daniel Kinzler):
Use Title::getTouched instead of ParserOutput::getTimestamp.

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

Change 244220 merged by jenkins-bot:
Use Title::getTouched instead of ParserOutput::getTimestamp.

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

Change 244485 had a related patch set uploaded (by Daniel Kinzler):
Dispatch snak formatting by data type.

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

daniel claimed this task.
daniel moved this task from Backlog to Done on the Wikidata-Sprint-2015-09-29 board.