Comment 6 for bug 1719333

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

Reviewed: https://review.openstack.org/507206
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=49d833f9aca351102bb1c9140231b809d8b4c519
Submitter: Jenkins
Branch: master

commit 49d833f9aca351102bb1c9140231b809d8b4c519
Author: Zane Bitter <email address hidden>
Date: Mon Sep 25 10:53:38 2017 -0400

    Speed up show-stack with outputs in legacy path

    When we show a stack including the outputs, we calculate all of the
    resource attributes that are referenced anywhere in the stack. In
    convergence, these are either already cached (and therefore fast) or need
    to be cached (and therefore the initial slowness will pay off in future).
    This isn't the case in the legacy path though, since we are not doing
    caching of attributes in the database in that path. So this is
    unnecessarily calculating all of the referenced attribute values, which are
    potentially very slow to get.

    For legacy stacks, only calculate the attribute values needed to show the
    outputs.

    Change-Id: I35800c7f87b58daf05cbabd05bcbcd75d0c0fadb
    Partial-Bug: #1719333