Bug 872001
| Summary: | Orphaned rendered_kickstart rows are not deleted | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | scheduler | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 0.9 | CC: | asaha, dcallagh, mishin, rglasz, rmancy |
| Target Milestone: | 0.11 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | LogStorage | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-01-17 04:34:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dan Callaghan
2012-10-31 23:42:15 UTC
So perhaps just removing them when we deleting a recipe would be the easiest solution. Can't think of why we would need them around beyond the life of a recipe, and these ones are a decent chunk of the total size. On Gerrit: http://gerrit.beaker-project.org/1521 mysql> SELECT COUNT(*) AS non_nulled_ks_ids FROM job INNER JOIN recipe_set ON recipe_set.job_id = job.id INNER JOIN recipe ON recipe.recipe_set_id = recipe_set.id AND recipe.rendered_kickstart_id IS NOT NULL WHERE job.deleted IS NOT NULL; +-------------------+ | non_nulled_ks_ids | +-------------------+ | 0 | +-------------------+ 1 row in set (0.01 sec) Beaker 0.11.0 has been released. |