Skip to content

Conversation

daveoconnor
Copy link
Collaborator

@daveoconnor daveoconnor commented Oct 14, 2025

This is related to ticket #1959.

Adds batched deletion of rendered content through the admin UI. Deletes 10,000 rows at a time to reduce locking. Will continue until all rows are deleted, including recently added ones so we may see some re-added ones but CDN caching should mitigate that to some extent.

Testing:
in the admin UI under Rendered Content, click on "Delete All Rendered Content" and periodically check to confirm that the number goes down until none remain.

@sdarwin
Copy link
Collaborator

sdarwin commented Oct 14, 2025

@karimarie67 to allow sufficient testing on stage, this PR should get merged somewhat after a merge-to-master rather than immediately before, then it can be live on staging, multiple days.

@daveoconnor daveoconnor changed the title Batched deletion of rendered content (#1955) Batched deletion of rendered content (#1959) Oct 14, 2025
@karimarie67
Copy link
Collaborator

Selected Delete All Records. Got the message at the top of the page.

Screenshot 2025-10-16 at 12 58 02

I only had 114 records. Nothing appeared to be happening. I had to refresh the page to see results. If that is acceptable this is ready to go after review from @gregjkal

@karimarie67 karimarie67 added the On Hold PR is tested/ready but can't be merged yet label Oct 16, 2025
Copy link
Collaborator

@gregjkal gregjkal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

On Hold PR is tested/ready but can't be merged yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants