Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While running update to Metatag 7.x-1.17 version from older ones we were experiencing OOM (Running Out Of Memory) issue on metatag_update_7108 due to large volume of nodes we have in the system and translations. Advice is to move metatag_update_7108 into a batch process.
Please find the patch attached.
Comment | File | Size | Author |
---|---|---|---|
#6 | metatag-n2784879-6.patch | 4.34 KB | DamienMcKenna |
| |||
#2 | metatag-7.x-1.7-batch_update-2784879.patch | 5.15 KB | sorinb |
Comments
Comment #2
sorinb CreditAttribution: sorinb as a volunteer commentedComment #3
DamienMcKennaThanks for this! I'll review it shortly.
BTW please leave the issue status set to "active" when you open a new issue, and then set it to "needs review" if you upload a patch. "Fixed" indicates that a problem/request has been completed and no further work is necessary, which isn't the case here.
Setting the status to "needs review" so the testbot can take a look at the lovely new patch!
Comment #5
gg4 CreditAttribution: gg4 commentedComment #6
DamienMcKennaRerolled.
Comment #7
gg4 CreditAttribution: gg4 commentedLooks like testbot was happy with the #6. Damien, any other obvious concerns from your side?
Comment #8
sorinb CreditAttribution: sorinb as a volunteer commentedThank you buddy! Will take it in consideration for future
Kind regards,
S.
Comment #9
sorinb CreditAttribution: sorinb as a volunteer commented@Damine, I had a problem while applying your patch:
vagrant@projects:/var/www/xxx/docroot/sites/all/modules/contrib/metatag$ git apply /var/www/xxx/patches/contrib/metatag-n2784879-6.patch
fatal: corrupt patch at line 116
Comment #10
sorinb CreditAttribution: sorinb as a volunteer commentedPlease ignore my last comment.
Comment #11
DamienMcKennaI need to manually test it.
Comment #12
DamienMcKennaComment #14
DamienMcKennaCommitted. Thanks!