Closed
Bug 1304177
Opened 10 years ago
Closed 10 years ago
permanently delete deleted objects in taskcluster-public-artifacts
Categories
(Taskcluster :: General, defect)
Taskcluster
General
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.
| Reporter | ||
Comment 1•10 years ago
|
||
Please also set up the same bucket configuration for taskcluster-private-artifacts
| Assignee | ||
Comment 2•10 years ago
|
||
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.
| Assignee | ||
Comment 3•10 years ago
|
||
TODO:
In a few days, check that all the previous-versions and delete-markers currently there have been deleted.
| Reporter | ||
Comment 4•10 years ago
|
||
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)
| Reporter | ||
Comment 5•10 years ago
|
||
scan I'm using to generate that:
https://github.com/taskcluster/taskcluster-queue/compare/master...djmitche:bug1304177?expand=1
and just to verify that that task shouldn't actually have extant artifacts:
https://tools.taskcluster.net/task-inspector/#-1AgOHgKRgqmHc4nE8Lshw
| Assignee | ||
Comment 6•10 years ago
|
||
@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)
| Reporter | ||
Comment 7•10 years ago
|
||
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)
| Assignee | ||
Comment 8•10 years ago
|
||
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.
Description
•