Bug 536583 (RHQ-918)

Summary: InventoryManager.mergeResource(Resource) can be optimized significantly when passed an unknown Resource tree
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: Plugin ContainerAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.1CC: ccrouch, cwelton, jshaughn
Target Milestone: ---Keywords: FutureFeature, Improvement
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-918
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-15 21:32:23 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 Ian Springer 2008-10-02 12:30:00 UTC
On the recursive calls to mergeResource(), the call to findMatchingChildResource() to find an existing child Resource need not be made at all, since it will always return the same Resource that is being merged (since its parent was just added to inventory). This will also eliminate the need to execute the (existingResource != null) if-block.


Comment 1 Red Hat Bugzilla 2009-11-10 21:19:36 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-918


Comment 2 wes hayutin 2010-02-16 17:08:15 UTC
mass add of key word FutureFeature to help track

Comment 3 Corey Welton 2010-10-05 13:37:18 UTC
Triaged 30-Sep