Drop Old Assets Versions fails on large data set #31105
Labels
OKR : Cloud Engineering
Owned by Gregg
OKR : Customer Support
Owned by Scott
Team : Falcon
Type : Defect
Problem Statement
Tools -> Drop Old Assets Versions silently failing on a Cloud env with lots of content
Steps to Reproduce
Observed behavior
Job starts at oldest content date (?)
Every 4 minutes, it increments the date by 30 days
This runs for about an hour, then the jobs start running about every 15 minutes. After another hour or so, the job appears to stop running, nothing further is logged.
If you re-run the task again, it starts running from the oldest date again. This also appears to resume the previous job where it left off - usually around
2012
. Both jobs will run for an hour or two, then stop.We are effectively unable to delete old assets.
The full impact of this is not known. It does preclude us from being able to use common file transfer tools like rsync and AWS DataSync in many cases.
Acceptance Criteria
This job should succeed.
The heuristic to run in 30-day increments is not a good solution to try to ensure reasonable delete batch sizes and needs to be reconsidered.
dotCMS Version
23.10
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
thread https://dotcms.slack.com/archives/C086AG5FJM9/p1736356751816249
The text was updated successfully, but these errors were encountered: