Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:6
-
Epic Link:
-
Team:SQuaRE
-
Urgent?:No
Description
So I thought that deleting the UWS job would delete the results of a TAP job, but then I realized it wasn't doing that at all. I took a couple of days to poke through the ResultsStore code, and found out that it doesn't seem to clean up results at all after deleting. It looks like something else needs to do this since the ResultsStore interface doesn't have a function to delete.
But this is fine. If anything, it's probably more failsafe - people forget to delete their results all the time. So I wrote a small script that prunes all results and errors over 30 days old from the bucket so we don't always increase in size and therefore hosting costs.