Timeouts when merging two taxonomies with a lot of content

Created on 9 March 2020, almost 5 years ago
Updated 11 May 2023, over 1 year ago

We have something like 2,000+ nodes tagged with one taxonomy term and are trying to merge about 650 nodes tagged with a different taxonomy term into that taxonomy term.

On Pantheon, we are getting a timeout after 60 seconds with the following settings (accessing the merge page from the small taxonomy term into the big taxonomy term):

  • Widget: Select
  • Merge into: BIG COLLECTION
  • Merge Term Fields:
    • Cover photo (this is an image file field)
    • Short name (this is a text field)
  • Keep only unique terms after merging: Yes
  • Create redirect: No redirect
  • Step: 1

The same thing happens regardless of whether or not I invoke the merge from /taxonomy/term/TID/merge or from VBO.

In addition, I have observed that sometimes the task will finish if I wait up to about 5 minutes after the timeout (since the 60 second timeout is on the load balancer side); other times this is not sufficient.

Separately (though possibly related) I have also observed that during the merge (even after the timeout) Search API will report more and more items in the index are in need of indexing; I suspect this is because the nodes are being touched but not updated in Search API in real time, despite ""Index items immediately" being enabled in the index.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States GuyPaddock

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024