Generated with the help of an LLM.

Problem/Motivation

Performance degradation on mass revision delete by involving tables where the field is not relevant. On big websites with lot of bundles and fields (like paragraphs module) it creates performance issue.

Steps to reproduce

Node bundle Article and News has different fields, by removing old revision of Article system makes DELETE query for all node field tables, not only attached to Article bundle.

Proposed resolution

Delete only from relevant tables. But this creates another relevant - when deleting field instance old revision field values are kept, and nothing deletes them.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3641607

Command icon Show commands

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

zviryatko created an issue.