Comment 24 for bug 1455589

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/kilo)

Reviewed: https://review.openstack.org/192466
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=a7484244eb2a3f8110b80a279ad656cc3ba8d445
Submitter: Jenkins
Branch: stable/kilo

commit a7484244eb2a3f8110b80a279ad656cc3ba8d445
Author: Steve Baker <email address hidden>
Date: Fri May 22 14:39:54 2015 -0700

    Switch total_resources to use stack_count_total_resources

    This change uses database queries to count the total number of
    resources in a nested stack tree instead of loading every stack
    and every resource in that stack.

    This should result in a significant improvement in memory use
    for stacks with many nested stacks and resources.

    Cherry-picked from heat ca32acbecea28f3674ac59738d74966ed406f465
    Closes-Bug: #1455589
    Change-Id: I8c2f1fa9114dbf68ad4a5f99dd3929b6958b5d7a