Bug 591271
Summary: | configuration objects not properly cleaned up | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Configuration | Assignee: | Charles Crouch <ccrouch> |
Status: | CLOSED WONTFIX | QA Contact: | Mike Foley <mfoley> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0.0 | CC: | ccrouch, cwelton, hbrock, jshaughn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-05-29 18:02:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Joseph Marques
2010-05-11 19:08:40 UTC
commit aca1ebad9820103bea6617fc2daee810e315b9c6 fix broken ConfigurationManagerBean.deleteConfigurations(List<Integer> configIds) method: * no longer need to explicitly delete properties, they are cascade deleted at the DB-level * fix typo to change configurationsQuery to use Configuration.QUERY_DELETE_CONFIGURATIONS_BY_CONFIGURATION_IDS * add new query to break property recursion for DBs that don't support self-referencing cascading ** this means that nested (non-top-level) properties will be orphaned on MSSQL, which doesn't support that recursive cascade * finally, needed to clean out RawConfiguration objects along with the delete Returning this one to dev. I don't think configuration and property counts are giving us the right results. run #1 - recent hudson build, reasonably heavy inventory, postgres ====== * executed 'select count(c) from Configuration c' = 3937 * executed 'select count(p) from Property p' = 46267 * ran autodiscovery op with "yes" as the detailed results parameter. * deleted op history * executed 'select count(c) from Configuration c' = 3938 * select 'count(p) from Property p' = 46268 run #2 - proposed beta build, light inventory, postgres ====== 2475 20567 platform: autodiscovery / yes deleted op 2476 20568 run #3 - same config as above, but deleted all op history prior to run. ====== 2474 20566 platform: audodiscovery / yes deleted op history 2475 20567 run #4 - same config as run #3; performing different op w/ param ====== 2475 20567 apache: install mod_jk configuration with "Yes" as the parameter deleted op 2476 20568 It's known that not all Config entries get cleaned up. The work to do complete cleaning is too high. |