History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-1066
Type: Code Change Code Change
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Joseph Marques
Reporter: Joseph Marques
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

purge alert definitions that have deleted bit set, but are no longer referenced

Created: 06/Nov/08 12:18 AM   Updated: Yesterday 10:23 AM
Component/s: FX - Alerts, Core Server
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

Resolution Date: 14/Dec/08 06:39 PM
Date of First Response: 05/Jan/09 10:23 AM
VCS Revision: 2,379


 Description  « Hide
the alerts audit trail has the possibility of leaving alert definitions with the "deleted" bit set in the database, even though there are no longer any alert history records that reference the alert definition. the reason this part of the model uses a deleted bit is documented here:

http://support.rhq-project.org/display/RHQ/Design-AlertsAuditTrail

we need to add a job to the data purge mechanism to remove obsolete alert definition, ones that are not referenced by any alert in the system and whose deleted bit is true.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Joseph Marques - 14/Dec/08 06:39 PM
rev2379 - add purging of unused alert definitions to the Data PurgeJob;

Jeff Weiss - 05/Jan/09 10:23 AM
This doesn't appear to have any user-facing symptoms, so I'm going to put this on the non-qa track.