Closed
Bug 1104822
Opened 10 years ago
Closed 9 years ago
Clean up strategy on signing servers is based on age of artefacts, but should be based on available disk space
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: pmoore, Assigned: coop)
References
Details
Attachments
(1 file)
713 bytes,
patch
|
bhearsum
:
review+
coop
:
checked-in+
|
Details | Diff | Splinter Review |
See: https://github.com/mozilla/build-tools/blob/master/lib/python/signing/server.py#L408 -> https://github.com/mozilla/build-tools/blob/master/lib/python/signing/server.py#L331 The reason this is bad, is that when we have a lot of releases all at once, we can quickly use up available disk space. Ideally the algorithm should keep a certain amount of disk space free, regardless of how old the artefacts are.
Comment 1•9 years ago
|
||
We should probably factor in age to a degree, at least to the point of "don't delete things that are less than X min old", where X is higher than the amount of time it takes to sign something and the slave to get it. Otherwise we risk deleting artifacts that are still needed.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → coop
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8546685 -
Flags: review?(bhearsum)
Updated•9 years ago
|
Attachment #8546685 -
Flags: review?(bhearsum) → review+
Reporter | ||
Comment 3•9 years ago
|
||
Let's keep this bug open for the general problem, since in bug 1072274 we went from 12 hours to 8 hours, in this bug we are now going from 8 hours to 4 hours, and at some point we may need to go from 4 hours to 2 hours unless we switch the underlying algorithm.
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8546685 [details] [diff] [review] [puppet] Keep signed files for 4 hours instead of 8 Review of attachment 8546685 [details] [diff] [review]: ----------------------------------------------------------------- https://hg.mozilla.org/build/puppet/rev/bda33a2528bf
Attachment #8546685 -
Flags: checked-in+
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•