Problem/Motivation
On a site that is using paragraphs fields on taxonomy terms the taxonomy_post_update_make_taxonomy_term_revisionable is taking hours. If the paragraphs fields are removed the update is quick.
I think this is a bug because the currently in HEAD updates can take hours.
Proposed resolution
Leverage #3066439: Stop invoking pre-save methods in EntityStorageInterface::restore() in \Drupal\entity_reference_revisions\Plugin\Field\FieldType\EntityReferenceRevisionsItem::preSave()
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3066440-3.patch | 592 bytes | alexpott |
| #2 | 3066440-2.patch | 680 bytes | alexpott |
Comments
Comment #2
alexpottComment #3
alexpottI messed up the core patch. This is based on the new approach.
Comment #4
daniel.bosenAs already reported in #3066439: Stop invoking pre-save methods in EntityStorageInterface::restore(), this works very well on our installation.
Comment #5
alexpottWith the current approach on #3066439: Stop invoking pre-save methods in EntityStorageInterface::restore() this patch is not necessary.
Comment #6
berdirAnd that new approach was now committed, so closing this.