Fixed
Project:
Entity Usage
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2026 at 10:40 UTC
Updated:
7 Sep 2026 at 16:13 UTC
Jump to comment: Most recent
I'm updating a client site to 5.x from 2.x and rebuilding the entity usage table is taking a long time.
Entity revision caching added in #2620980: Add static and persistent caching to ContentEntityStorageBase::loadRevision() is causing issues.
There's no sensible way in core to disable revision caching a for a single process. Opened #3618977: Persistent revision caching needs a kill switch to discuss.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #4
csakiistvanComment #5
csakiistvan✅ Tested and works — applied MR !237, ran
ddev drush cr, truncatedcache_entityand pressed "Recreate all entity usage statistics" on /admin/config/entity-usage/batch-update:cache_entitystays empty afterwards, while without the MR the same run left 13 revision entries behind. The bulk update no longer pollutes the persistent entity cache.Comment #7
alexpott