Bug 738798 - deleting a large number of alerts via the Delete All button takes unacceptably long
Summary: deleting a large number of alerts via the Delete All button takes unacceptabl...
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.1
Hardware: Unspecified
OS: Unspecified
medium vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Mike Foley
Depends On:
Blocks: rhq-perf rhq-gui-timeouts
TreeView+ depends on / blocked
Reported: 2011-09-15 20:20 UTC by Ian Springer
Modified: 2013-08-06 00:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-02-07 19:26:53 UTC

Attachments (Terms of Use)

Description Ian Springer 2011-09-15 20:20:29 UTC
Deleting 112,000 alerts took 70s.

Comment 1 Ian Springer 2011-09-21 12:46:28 UTC
We will address this by setting a larger timeout that is based on the number of alerts being deleted, e.g.:

int timeout = 10000 + numAlertsBeingDeleted;

Comment 2 Ian Springer 2011-10-11 20:36:53 UTC
[master a6320d5] (http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=commitdiff;h=a6320d5) uses the following formula to calculate the timeout used for each delete-all or acknowledge-all RPC call:

int rpcTimeout = 10000 + getListGrid().getTotalRows();

Comment 3 Mike Foley 2011-10-11 20:47:45 UTC
i am going to verify this on code review.

Comment 4 Mike Foley 2012-02-07 19:26:53 UTC
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE

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