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

Key: RHQ-837
Type: Bug Bug
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

duplicate alerts generated

Created: 15/Sep/08 07:07 AM   Updated: 19/Sep/08 12:32 PM
Component/s: FX - Alerts
Affects Version/s: 1.1pre
Fix Version/s: 1.1

Time Tracking:
Not Specified

Resolution Date: 15/Sep/08 12:16 PM
Date of First Response: 19/Sep/08 12:32 PM
Tester: Corey Welton
VCS Revision: 1,458


 Description  « Hide
this is a regression. needs to be fixed before 1.1.0 release.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Joseph Marques - 15/Sep/08 09:27 AM
ok, i've reproduced this. investigating root cause now.

Joseph Marques - 15/Sep/08 09:39 AM
duplicates showed up after the agent was bounced once while the server was still up. there was a bug in the method that unloaded/reloaded alert conditions for each agent.

Joseph Marques - 15/Sep/08 10:38 AM
rev1458 - was not passing the agentId to the remove method, which defaults to 0 (so as not to break backward compatibility to some old methods we're keeping around);
also, was twice passing the alertConditionId instead of the agentId to the remove method, which obviously will randomly work if they are equal but fail to remove the appropriate cache elements if they are not;

Corey Welton - 19/Sep/08 12:32 PM
QA Verified -- no longer seeing duplicate events when restarting agent.