Bug 534390 (RHQ-1191) - synchronous UI call into SLSB layer to mark resources uninventoried
Summary: synchronous UI call into SLSB layer to mark resources uninventoried
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-1191
Product: RHQ Project
Classification: Other
Component: Core Server
Version: unspecified
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Joseph Marques
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: RHQ-1187
TreeView+ depends on / blocked
 
Reported: 2008-11-27 04:29 UTC by John Mazzitelli
Modified: 2009-11-10 21:22 UTC (History)
0 users

Fixed In Version: 1.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2008-11-27 04:29:00 UTC
This subtask is to refactor the UI code so it calls into a new SLSB method that simply marks all "doomed" resources with a inventory status of UNINVENTORY. We need to add that new inventory status to the enum.

This needs to be optimized for speed if at all possible.

Comment 1 Joseph Marques 2009-06-23 07:06:22 UTC
rev4160 - this commit adds asynchronous uninventory and fixes several spots of row contention

[RHQ-1187][RHQ-1191][RHQ-1192] - asynchronous uninventory by setting uninventoried resources agent references to null to stop majority agent-side sync, setting the parent to null to take it out of the object graph, using a special UNINVENTORY inventoryStatus so it doesn't conflict with existing semantics around any other state, and using a dummy resourceKey so that the next discovery doesn't collide; 
[RHQ-1324] - specific timings during uninventory calling reinventory failure are no longer possible because uninventory of the entire resource tree occurs atomically in one bulk update statement, then the agent is notified if successful; 
[RHQ-2124][RHQ-1656][RHQ-1221] - removed hot spots and various other points of contention by shortening transaction times or using indexes as available for: a) uninventory work, b) cloud manager job, c) check for suspect agent job, d) dynagroup recalculation job, e) alerts cache in-band agent and server status bit setting, f) isAgentBackfilled checking

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



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