Bug 535451 (RHQ-2145) - InventoryManager.initialize should go faster
Summary: InventoryManager.initialize should go faster
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-2145
Product: RHQ Project
Classification: Other
Component: Plugin Container
Version: 1.2
Hardware: All
OS: All
high
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard: Push to 1.4
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2009-06-11 15:35 UTC by John Mazzitelli
Modified: 2018-11-14 20:38 UTC (History)
2 users (show)

Fixed In Version: 1.4
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-05 21:12:34 UTC
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2009-06-11 15:35:00 UTC
When the PC initializes, it calls all the managers' initialize() methods. It does so while holding a write lock so nobody can access the managers until they are all started.

The InventoryManager initialize does "executePlatformScan();" which in turns merges discovery and initializes the resource containers. This could take a long time.

We need to either speed that up or do it in an asynchronous mechanism to allow the InventoryManager.initialize to return (assuming that doesn't break anything - the IM must be fully iniitalized before returning fro initialize() method).

Comment 1 Charles Crouch 2009-06-11 15:49:43 UTC
This long initialize time seems to have been the cause of some exceptions in case 301319

Comment 2 Red Hat Bugzilla 2009-11-10 20:58:44 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2145


Comment 3 wes hayutin 2010-02-16 16:55:08 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 4 wes hayutin 2010-02-16 17:00:17 UTC
making sure we're not missing any bugs in rhq_triage


Note You need to log in before you can comment on or make changes to this bug.