Bug 1176435
| Summary: | Installing large number of packages causes ISE | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Dimitar Yordanov <dyordano> |
| Component: | WebUI | Assignee: | Stephen Herr <sherr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel StudenÃk <pstudeni> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 570 | CC: | cperry, pstudeni, tlestach |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-java-2.3.8-94 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-01-13 10:25:39 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: | |||
| Bug Blocks: | 1127215 | ||
|
Description
Dimitar Yordanov
2014-12-21 20:04:43 UTC
Committing to Spacewalk master: e8f52d3f534af8b2cec10dfc4cbc24c886f3a0e3 This slowness was caused by inefficient hibernate lookup after the perl -> java migration of this page. The original java code was inefficient because: 1) it looked up the list of packages twice and stored them in two different lists (unnecessarily) 2) when building the package nevra string for display it would throw out the already-loaded Name / EVR / Arch information and force hibernate to look up the nevra info by nameId / evrId / archId, for every package in the list. Fixing those two things makes the page load much faster (a second or two for two thousand packages). One additional note: this change will affect all types of package actions (install, upgrade, etc) but nothing else (like errata actions). If problems are noted in other types of actions then that should probably be filed as a different bug. With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed. |