Comment 5 for bug 1665503

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/521643
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=dbc852b47a9a6a1044dd2a554f16f27681dbe762
Submitter: Zuul
Branch: master

commit dbc852b47a9a6a1044dd2a554f16f27681dbe762
Author: Zane Bitter <email address hidden>
Date: Mon Nov 20 13:59:19 2017 -0500

    Eager-load properties for nested resource list

    When doing "openstack stack resource list --nested-depth=n", we were
    lazy-loading the resources' properties data. This is expensive, especially
    when there are a large number of resources. Eager-load the data, as we
    always use it to show the resources.

    For consistency, always eager-load the resource 'data' (even in
    resource_get), because the Resource versioned object accesses it
    unconditionally.

    Change-Id: Idb871fddf77bf24828878c315e19e200c28841be
    Related-Bug: #1665503