HomePhabricator

Add only needed entity usages in AddUsagesForPageJob

Authored by Ladsgroup on Aug 1 2019, 3:38 PM.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Add only needed entity usages in AddUsagesForPageJob

The wbc_entity_usage table gets updated accordingly in DataUpdateHookHandlers
but there might be more to add and right now we re-add everything. This makes
the batch size very small and avoids deadlocks

Bug: T226818
Bug: T205045
Change-Id: I75d60c3c546cbe27a6eb4713961c74b98e78c560
(cherry picked from commit d558c0f2cb8ad725516e699a25d786d7a5a4e00a)

Details