Closed
Bug 1014128
Opened 11 years ago
Closed 10 years ago
Crontabberize regular data expiration in Socorro
Categories
(Socorro :: Database, task)
Socorro
Database
Tracking
(Not tracked)
RESOLVED
FIXED
92
People
(Reporter: selenamarie, Assigned: dmaher)
Details
We now have a function that can clean up data without taking out a bazillion locks:
drop_named_partition([oldest data to keep])
Put running of this on a weekly basis into our crontabber config.
Reporter | ||
Comment 1•10 years ago
|
||
Have a look at socorro/cron/jobs/weekly_reports_partitions.py for a great example of what we are looking for in a new function to drop old partitions.
Also the tests for this are at: socorro/unittest/cron/jobs/test_weekly_reports_partitions.py
Assignee: nobody → dmaher
Assignee | ||
Comment 2•10 years ago
|
||
For reference, our data expiration policy is currently set to one (1) year.
Assignee | ||
Comment 3•10 years ago
|
||
Comment 4•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/e422ea6cd2e901a040b1b39b33efd70168f175df
crontabberise drop_old_partitions; bug 1014128; attempt #2
https://github.com/mozilla/socorro/commit/47a4112cb7e69e9306d9582153dd03753718cf37
Merge pull request #2143 from phrawzty/bug1014128__again
fixes bug 1014128; crontabberise drop_old_partitions
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 92
You need to log in
before you can comment on or make changes to this bug.
Description
•