P4DTI issue job000236

TitleBugzilla table grows without bound
Statusclosed
Prioritycritical
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionThe 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.
AnalysisAdd 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 foundinspection
EvidenceI just know.
Introduced in0.5.0
Created byNick Barnes
Created on2001-03-01 11:06:53
Last modified byGareth Rees
Last modified on2001-12-10 19:26:59
History2001-03-01 NB Created.
2001-03-01 NB Added note concerning fix.

Fixes

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.