Bug 849751 - RFE: protect resource tree from direct navigation to a resource with many siblings
RFE: protect resource tree from direct navigation to a resource with many sib...
Status: CLOSED CURRENTRELEASE
Product: RHQ Project
Classification: Other
Component: Core UI (Show other bugs)
4.4
All All
high Severity high (vote)
: ---
: RHQ 4.5.0
Assigned To: Jay Shaughnessy
Mike Foley
:
Depends On:
Blocks: 849761
  Show dependency treegraph
 
Reported: 2012-08-20 14:51 EDT by Jay Shaughnessy
Modified: 2013-09-01 06:17 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-01 06:17:53 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jay Shaughnessy 2012-08-20 14:51:31 EDT
The fix for bug 847014 introduced bounded, predictable expansion for resource tree child nodes.

This means that if a node in a tree (a parent resource) has perhaps thousands of children, that we protect against pulling an unlimited amount of data into the tree.

We have the same issue when a user navigates directly to a resource that may have thousands of siblings (via a link or bookmark).  We need to protect the tree from an unbounded fetch.
Comment 1 Jay Shaughnessy 2012-08-20 15:03:50 EDT
master commit 414ccdf3fd964dc6d64abe511ec02f4e9170aa40

Apply the new ResourceManager.findResourcesByCriteriaBounded() method
to getResourceLineageAndSiblings() in order to similarly bound the initial
tree building fetch.  Currently getResourceLineageAndSiblings() will use
the defaults applied to findResourcesByCriteriaBounded(), although we may
find that providing separate overrides will be useful.


Test Notes:
The initial fetch will no longer be unbounded so it's possible that users that previously did not see any truncation may not see it. But it's unlikely as by default we still pull up to 1000 siblings.

Testing could be easier by setting overrides to smaller numbers (see bug 847014 for more on how to do that) testing may be easier.  In all cases the resource being navigated to should show up in the tree, even if it is at the bottom of many siblings.
Comment 2 Heiko W. Rupp 2013-09-01 06:17:53 EDT
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.

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