drift async job purges drift files

John Mazzitelli mazz at redhat.com
Sat Aug 13 14:01:35 UTC 2011


(this is probably only of interest right now for Jay and John S)

I checked in code that adds to the data purge job that runs hourly. We 
now purge drift files if there are no drifts referencing it. Every hour, 
when you see the data purge job emit its log messages, if you look in 
there, you will see messages about purging drift files.

This means we can clean up and reclaim space for drift files that are no 
longer used (that is, referenced as either an old or new file from any 
drift entry).

This goes through the drift server plugin - if we are using the RHQ DB 
backend, we'll purge unused rows in RHQ_DRIFT_FILE. I left a TODO in the 
MongoDB plugin to do the purging when using MongoDB as the drift backend.


More information about the rhq-devel mailing list