- π¬π§United Kingdom littledynamo
Same issue here on a Drupal 9 site. views_data_export_object_cache table size gradually increased to 700MB, which is 70% of the database size and caused the client to hit the 1000MB ceiling on Siteground hosting.
- πΊπΈUnited States csmdgl
In D7, there is a bug in the logic of views_data_export_garbage_collect(). It is calling views_data_export_view_clear() with an array of eids, but views_data_export_view_clear() only works for an individual eid.
Patch attached.
- Status changed to Needs review
over 1 year ago 8:09pm 17 November 2023 - last update
over 1 year ago 22 pass - π¬π§United Kingdom steven jones
Seems like this is pretty critical tbh, if that's what's going on/is wrong.
- Status changed to Closed: won't fix
29 days ago 1:14pm 7 March 2025 - π¬π§United Kingdom steven jones
@csmdgl I'm not sure it's a bug, because in Drupal 7 it's actually the case that you can send a scalar or an array to a database condition and Drupal would pick out the right operator:
https://api.drupal.org/api/drupal/includes%21database%21query.inc/functi...
I'm going to close this issue down because Drupal 7 is EOL and I suspect that others have found ways around this in the meantime anyway.
Thanks for the effort everyone though.