| Title | Bugzilla table grows without bound |
| Status | closed |
| Priority | critical |
| Assigned user | Nick Barnes |
| Organization | Ravenbrook |
| Description | The P4DTI keeps a table in the Bugzilla database called p4dti_replications which grows quite fast (hundreds of K per day). There is a function to delete redundant rows from this table (bugzilla.delete_complete_replications()) but it is never called. |
| Analysis | Add code somewhere in bugzilla.py or dt_bugzilla.py to delete old replications on a regular basis. e.g. delete replications which are more than one day old. Changed end_replication() so that it deletes all completed replications more than a week old. |
| How found | inspection |
| Evidence | I just know. |
| Introduced in | 0.5.0 |
| Created by | Nick Barnes |
| Created on | 2001-03-01 11:06:53 |
| Last modified by | Gareth Rees |
| Last modified on | 2001-12-10 19:26:59 |
| History | 2001-03-01 NB Created. 2001-03-01 NB Added note concerning fix. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 9237 | closed | 2001-03-01 11:32:51 | Nick Barnes | Fixes for job000235 and job000236; bugzilla timings and database growth. |