This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to …
…display groups due to UI timeouts Replace subqueries by JOINs. Due to JPA limitation of subqueries (One cannot write select x from (select y from z)). One query has been replaced with 2 (or 3) queries which we have to join in memory. This should not be a perf issue, since we're joining composite instance sets (max count of such set equals to total resource group count in DB). A case when 2 (or 3) subsequent queries could return sets of different sizes (due to underlying group deletion/addition) is handled as well. (cherry picked from commit 5cc77db) Conflicts: modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/resource/group/ResourceGroupManagerBean.java modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/util/CriteriaQueryGenerator.java Fix counting total resource count (only count COMMITTED resources) (cherry picked from commit 0f6a0f9) PageList which contains in memory joined results *must* contain paging info taken from one of original pagelists (cherry picked from commit abfcbdb)
- Loading branch information
Showing
2 changed files
with
161 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters