History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-820
Type: Code Change Code Change
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Joseph Marques
Reporter: Joseph Marques
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

allow alerts cache to load and unload cache elements on an agent-by-agent basis

Created: 10/Sep/08 01:52 AM   Updated: 19/Sep/08 11:06 AM
Component/s: FX - Alerts, Core Server
Affects Version/s: 1.1pre
Fix Version/s: 1.1

Time Tracking:
Not Specified

Resolution Date: 10/Sep/08 02:36 AM
VCS Revision: 1,429


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Joseph Marques - 10/Sep/08 02:36 AM
rev1412 - reload alerts caches on an agent-by-agent basis;
batch the removal and insertions by 250 alert conditions at a time;
modify the CacheConsistencyManager to ONLY reload caches for "dirty" agents;

Joseph Marques - 11/Sep/08 02:57 PM
rev1429 - do not query the database for which conditions belong to what agent (deleted conditions will never be found, leaving stale conditions in the cache indefinitely);
instead, keep track of this relationship by using a Map<agentId, List<conditionId>> which is inspected to figure out which cache elements to remove;