Bug 727869
Summary: | Configuration History times out when there are many resources. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Robert Buck <rbuck> | ||||
Component: | Core Server | Assignee: | Ian Springer <ian.springer> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.1 | CC: | ccrouch, hrupp, ian.springer, skondkar | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-02-07 19:32:07 UTC | Type: | --- | ||||
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: | |||||||
Bug Blocks: | 717358, 722548, 730796 | ||||||
Attachments: |
|
Description
Robert Buck
2011-08-03 13:21:12 UTC
Created attachment 520448 [details]
fix
The attached patch fixes this issue by making AbstractConfigurationUpdate.configuration LAZY, rather than EAGER, fetch. With the change, the subsystem config history list view now loads in around 3 seconds. Since the change required significant refactoring of code which expected the configuration field to be eagerly fetched, we will hold off committing it until after the imminent RHQ 4.1 and JON 3.0 Beta releases. Note, I tested that all of the config-related views in the GUI still work and that all domain and server-jar unit tests still pass. I still need to test: 1) CLI integration tests still pass 2) resource-config-changed alerts still work Note: Make sure to provide detailed test steps for QE. The patch has been merged in - [master 8368e38]. QE, please test that the following views load quickly and do not have any regressions: 1) resource Configuration > History subtab - list and detail views 2) resource Inventory > Connection Settings subtab 3) resource Inventory > Connection Settings History subtab 4) group Configuration > History subtab - list and detail views 5) group Inventory > Connection Settings subtab 6) group Inventory > Connection Settings History subtab 7) Reports > Configuration History subsystem view Make sure each of the views contains at least one history item so you can test that it is loaded correctly. Please also test that resource-configuration-changed alerts still work correctly. While verifying the resource Inventory > Connection Settings History subtab, encountered an exception in server log. Filed a separate bug: https://bugzilla.redhat.com/show_bug.cgi?id=743271 marking VERIFIED BZs to CLOSED/CURRENTRELEASE changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |