Bug 1244941
| Summary: | Group inventory pages (compatible, mixed, all) fail to display groups due to UI timeouts | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> |
| Component: | Database | Assignee: | Libor Zoubek <lzoubek> |
| Status: | CLOSED ERRATA | QA Contact: | Filip Brychta <fbrychta> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.2 | CC: | fbrychta, jshaughn, spinder, theute |
| Target Milestone: | ER01 | Keywords: | Triaged |
| Target Release: | JON 3.3.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1240854 | Environment: | |
| Last Closed: | 2015-10-28 14:37:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1240854 | ||
| Bug Blocks: | |||
|
Description
Larry O'Leary
2015-07-20 19:58:37 UTC
There is a few commits in master to cherry-pick: https://github.com/rhq-project/rhq/commit/5cc77db6b8ec6873a95d596d04376f4dccf08b32 https://github.com/rhq-project/rhq/commit/0f6a0f9498139d0baa49f4cd830204a1b80138b8 https://github.com/rhq-project/rhq/commit/abfcbdbdcc0122cfef82a78aea213a5c696195c5 https://github.com/rhq-project/rhq/commit/ee0902a5508e16363bbe6b482e423d109f4a0738 https://github.com/rhq-project/rhq/commit/e835d8957e5d0a61d85d67f9755cf56c0f65c655 https://github.com/rhq-project/rhq/commit/03d63872248b6eb07173cdb02f2a546bbb02ab9f https://github.com/rhq-project/rhq/commit/62f0e6bf27f0ee6aeb09a1581795ba15c80f20c1 https://github.com/rhq-project/rhq/commit/fb177ff5b354af14fc05d13b165c5df953070cf0 https://github.com/rhq-project/rhq/commit/6e881b44f77beacaa83a1b9154c7439d417fec15 https://github.com/rhq-project/rhq/commit/8ebc027a5fbc93902f1ff1c4cea4b30a9740deaa in 3.3.x branch
commit d822e24d62af87e5a201194f7ffa4cf854e080f6
Author: Libor Zoubek <lzoubek>
Date: Fri Sep 25 16:15:59 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to
Update copyright
(cherry picked from commit 8ebc027a5fbc93902f1ff1c4cea4b30a9740deaa)
Signed-off-by: Libor Zoubek <lzoubek>
commit 09ae6ab2dee9ed9f3eaaf6d7115173712c68e71f
Author: Libor Zoubek <lzoubek>
Date: Tue Sep 22 10:49:14 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
groups due to UI timeouts
Load group facets to the right ResouceGroupComposite instances
(cherry picked from commit 6e881b44f77beacaa83a1b9154c7439d417fec15)
Signed-off-by: Libor Zoubek <lzoubek>
commit bec870df3a5f3dfeba1038108930b3a6befbd266
Author: Libor Zoubek <lzoubek>
Date: Thu Sep 17 10:51:02 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to …
…display
Use non-generic (JPA 1.0 compatible) way to create queries
(cherry picked from commit fb177ff5b354af14fc05d13b165c5df953070cf0)
Signed-off-by: Libor Zoubek <lzoubek>
commit ddc8ac6f6489fd9fb82fb247fe2f7d82adac3d0a
Author: Libor Zoubek <lzoubek>
Date: Tue Sep 15 14:42:16 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
Re-write to make queries even faster. We select only groups based on initial
criteria, then we select composites (implicit/explicit) but only by group
ids from first query. This should be faster, because database has to order
results only once - when selecting plain groups. Expensive join/composite
queries can be unordered.
(cherry picked from commit 62f0e6bf27f0ee6aeb09a1581795ba15c80f20c1)
Signed-off-by: Libor Zoubek <lzoubek>
commit cc9f5c0d50f5977a792d1aa23b692e00ef1957c1
Author: Libor Zoubek <lzoubek>
Date: Thu Aug 27 11:52:17 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
groups due to UI timeouts
Fix generated GROUP BY clauses. On oracle it is not enough to use group by
resourcegroup, but it need also the field name (so it has to look like
'resourcegroup.id'). Added various tests for
findResourceGroupCompositesByCriteria
(cherry picked from commit 03d63872248b6eb07173cdb02f2a546bbb02ab9f)
Signed-off-by: Libor Zoubek <lzoubek>
commit a44c9a11f2f240610fd51c54a1469db300b9d6f5
Author: Libor Zoubek <lzoubek>
Date: Tue Aug 18 23:17:48 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
groups due to UI timeouts
CriteriaQueryGenerator is now able to write group by aliases, based on
ordering fields. In a specific case, when we alter projection, override FROM
clause (whith several JOINs) override GROUP BY clause the resulting query
must be grouped by ordering fields - this fix in CriteriaQueryGenerator adds
a new flag, which enables this feature - so default behaviour does not
change. This fixes issue with ordering of ResourceGroupComposites based on
criteria.
(cherry picked from commit e835d8957e5d0a61d85d67f9755cf56c0f65c655)
Signed-off-by: Libor Zoubek <lzoubek>
commit b6639167915dbeb6eb040a475d59b9416100b985
Author: Libor Zoubek <lzoubek>
Date: Tue Aug 18 23:15:48 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
groups due to UI timeouts
use left (outer) joins, so we don't miss empty groups
(cherry picked from commit ee0902a5508e16363bbe6b482e423d109f4a0738)
Signed-off-by: Libor Zoubek <lzoubek>
commit e3fc0ba6e615661feec26a65599479cbb5f0e2ef
Author: Libor Zoubek <lzoubek>
Date: Fri Jul 31 19:28:39 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
PageList which contains in memory joined results *must* contain paging info
taken from one of original pagelists
(cherry picked from commit abfcbdbdcc0122cfef82a78aea213a5c696195c5)
Signed-off-by: Libor Zoubek <lzoubek>
commit 152a1085b301f444e6795a69bed59290fbfc80f5
Author: Libor Zoubek <lzoubek>
Date: Mon Jul 13 16:17:30 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
Fix counting total resource count (only count COMMITTED resources)
(cherry picked from commit 0f6a0f9498139d0baa49f4cd830204a1b80138b8)
Signed-off-by: Libor Zoubek <lzoubek>
commit d013835ff2fad09c548a61df04bd0de386890090
Author: Libor Zoubek <lzoubek>
Date: Thu Jul 9 14:34:39 2015 +0200
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 5cc77db6b8ec6873a95d596d04376f4dccf08b32)
Signed-off-by: Libor Zoubek <lzoubek>
commit 5419181f4f88e6e4b4dd4de492598f4acf43c5a0
Author: Michael Burman <miburman>
Date: Tue Sep 29 18:49:42 2015 +0300
[BZ 1258870] Expose purgeEventForContext and deleteEventsForContext to remote API
(cherry picked from commit fc3849c64739399d95c76c01316775e2b7b044f2)
Signed-off-by: Libor Zoubek <lzoubek>
commit ee4afd78df30af016539b925de06179827c40773
Author: Libor Zoubek <lzoubek>
Date: Tue Sep 8 16:04:11 2015 +0200
Bug 1234912 - Do not authenticate against new storage node when
replication_factor of system_auth keyspace is wrong
taken from one of original pagelists
(cherry picked from commit abfcbdbdcc0122cfef82a78aea213a5c696195c5)
Signed-off-by: Libor Zoubek <lzoubek>
commit 152a1085b301f444e6795a69bed59290fbfc80f5
Author: Libor Zoubek <lzoubek>
Date: Mon Jul 13 16:17:30 2015 +0200
Bug 1240854 - Group inventory pages (compatible, mixed, all) fail to display
Fix counting total resource count (only count COMMITTED resources)
(cherry picked from commit 0f6a0f9498139d0baa49f4cd830204a1b80138b8)
Signed-off-by: Libor Zoubek <lzoubek>
commit d013835ff2fad09c548a61df04bd0de386890090
Author: Libor Zoubek <lzoubek>
Date: Thu Jul 9 14:34:39 2015 +0200
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 5cc77db6b8ec6873a95d596d04376f4dccf08b32)
Signed-off-by: Libor Zoubek <lzoubek>
Moving to ON_QA as available to test with the following build: https://brewweb.devel.redhat.com/buildinfo?buildID=460382 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of jon-server-3.3.0.GA-update-04.zip. Verified on: Version : 3.3.0.GA Update 04 Build Number : 821a526:fa7b1a1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1947.html |