Convergence loads all resources to check a single resource
Bug #1656429 reported by
Zane Bitter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Zane Bitter |
Bug Description
The resource check operation in convergence was carefully architected to be as lightweight as possible, and needs to load only the resource being checked.
Unfortunately, we are inadvertently loading *all* of the resources from the database. This is slow, memory-intensive, and extremely hard on the DB. We need to stop doing this, and also add tests to ensure that we can't start accessing stack.resources in future and inadvertently start doing this again.
Changed in heat: | |
assignee: | Zane Bitter (zaneb) → Crag Wolfe (cwolfe) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/420191
Review: https:/