Closed Bug 1304177 Opened 10 years ago Closed 10 years ago

permanently delete deleted objects in taskcluster-public-artifacts

Categories

(Taskcluster :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: jonasfj)

References

Details

We found in bug 1303153 that there are lots of deleted objects in this bucket that are sticking around due to versioning. Let's kill them. Jonas is going to do this with a lifecycle rule. We will need to be sure that it applies retroactively.
Please also set up the same bucket configuration for taskcluster-private-artifacts
Set a bucket policy: permanently delete: previous-versions and delete-markers, after 3 days So if queue decides to go crazy, we have 3 days to restore.
TODO: In a few days, check that all the previous-versions and delete-markers currently there have been deleted.
Jonas, it appears that there are still lots of delete markers here. Just to pick three: DM -1Aczp65SVCwUJBzzJMvww/0/public/unit_tests_b2g/debug.log Fri Apr 22 2016 00:01:44 GMT+0000 (UTC) DM -1AfTlLEQE-55DHOqRORBQ/0/public/logs/live_backing.log Sat Aug 27 2016 00:01:24 GMT+0000 (UTC) DM -1AgOHgKRgqmHc4nE8Lshw/0/public/logs//localconfig.json Sun Aug 21 2016 00:01:57 GMT+0000 (UTC) these can be seen in the AWS console, if you click "Versions: Show": https://console.aws.amazon.com/s3/home?region=us-east-1&bucket=taskcluster-public-artifacts&prefix=-1AgOHgKRgqmHc4nE8Lshw/0/public/logs/
Flags: needinfo?(jopsen)
@dustin, I think we should look at this again later, the 3 examples you found are gone today: DM -1Aczp65SVCwUJBzzJMvww/0/public/unit_tests_b2g/debug.log Fri Apr 22 2016 00:01:44 GMT+0000 (UTC) DM -1AfTlLEQE-55DHOqRORBQ/0/public/logs/live_backing.log Sat Aug 27 2016 00:01:24 GMT+0000 (UTC) DM -1AgOHgKRgqmHc4nE8Lshw/0/public/logs//localconfig.json Sun Aug 21 2016 00:01:57 GMT+0000 (UTC) He he, so maybe the bucket policy is still in the process of kicking in.
Flags: needinfo?(jopsen)
Seems to be working -- I'm not finding any delete markers older than 5 days. Did this get applied to private artifacts, too? If so, I think this is done!!
Flags: needinfo?(jopsen)
private artifacts don't have versioning enabled.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(jopsen)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.