Bug 1131726

Summary: Data from RHQ_CONFIG_UPDATE never purged
Product: [Other] RHQ Project Reporter: Elias Ross <genman>
Component: DatabaseAssignee: Thomas Segismont <tsegismo>
Status: ON_QA --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: hrupp, tsegismo
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Elias Ross 2014-08-19 23:21:36 UTC
See: Bug 1131724

It seems that data in here is never removed over time. I have data from 2012.

There needs to be a purge process in place. I'm assuming updates from 3-6 months old should go away, right?

Comment 1 Thomas Segismont 2014-09-29 15:44:56 UTC
(In reply to Elias Ross from comment #0)
> See: Bug 1131724
> 
> It seems that data in here is never removed over time. I have data from 2012.
> 
> There needs to be a purge process in place. I'm assuming updates from 3-6
> months old should go away, right?

We'll discuss this question on the devel list. In the past, for a similar issue (operations history purge), we left the task disabled by default and made the cut-off date configurable.

Comment 2 Thomas Segismont 2014-10-16 12:34:43 UTC
Pull request sent and waiting for review:
https://github.com/rhq-project/rhq/pull/132

Comment 3 Thomas Segismont 2014-11-20 09:36:23 UTC
Merged in master

commit 8efb4f275b98d85a8bee2f12110dd955a1ebf67c
Merge: 86968f0 1f08ab3
Author: Libor Zoubek <lzoubek>
Date:   Thu Nov 13 18:16:58 2014 +0100

    Merge branch 'purgepurgepurge' of https://github.com/tsegismont/rhq into tsegismont-purgepurgepurge
    
    Conflicts:
        modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml
        modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_de.properties
        modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ja.properties
        modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ru.properties