Details
-
Task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.4.0
-
None
Description
Repeated requests to the org.apache.ambari.server.orm.dao.UpgradeDAO methods during upgrades can cause large delays retrieving active upgrades. This is because the QueryHint.REFRESH is being used in almost every method. This causes a re-read on every UpgradeEntity -> UpgradeGroupEntity -> UpgradeItemEntity in the entire database for every query.
These query hints should be removed.
Attachments
Attachments
Issue Links
- links to