Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super Table within Matrix field triggers large number of jobs to update search index #532

Closed
baileydoestech opened this issue Sep 7, 2023 · 4 comments

Comments

@baileydoestech
Copy link

baileydoestech commented Sep 7, 2023

Describe the bug

We have a super table nested inside a matrix block as below:

image

When an entry containing this field is saved (any change, not just to the field in question) we see a large number of jobs triggered to Update search indexes and prune extra revisions. None of the fields have 'Use the field's values as search keywords' enabled.

image

This seems orders of magnitude larger compared to saving without the field, the jobs can sometimes just hang and do place quite a burden on the CPU/Memory of our site despite the change not usual touching this field. If this is expected then is there a way to disable it?

We have tried resaving the super table fields without any luck

Steps to reproduce

  1. Create a matrix block with a nested Super Table Field
  2. Populate the field for a given entry
  3. Save the entry without making any changes to the matrix block
  4. See a large number of jobs triggered

Craft CMS version

4.5.2

Plugin version

3.0.9

Multi-site?

Yes

Additional context

No response

@baileydoestech
Copy link
Author

Looks similar to this request: #525

@baileydoestech baileydoestech closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@919Studios
Copy link

Hello @baileydoestech - I've had the same exact issue - did you find a way get those large numbers of jobs to stop bogging down the cms?

There is an async tool that might be helpful to you that partly solves things… Im trying to find a way to not even need that in the first place though.

@baileydoestech
Copy link
Author

I believe this got noticeably better for us in a recent Craft release but as super table is now deprecated we aren't going to spend much more time on looking into this. Async queue also helped with us

@919Studios
Copy link

Just read the verbb news article… glad pixel and tonic added native way to do this now 👍🏻
Time to get movin' with Craft 5 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants