Comment 4 for bug 1821860

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

Reviewed: https://review.openstack.org/648023
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=77a6831224f1695c882d4289b55a187f862b0869
Submitter: Zuul
Branch: stable/rocky

commit 77a6831224f1695c882d4289b55a187f862b0869
Author: Renat Akhmerov <email address hidden>
Date: Mon Mar 18 10:41:59 2019 +0700

    Add "root_execution" mapped property to WorkflowExecution model

    * We need to avoid using direct DB queries w/o using a mapped
      model where possible for performance sake. Using a mapped entity
      property is always more efficient because it's cached in an
      SQLAlchemy session.

    Closes-Bug: #1821860

    Change-Id: I2d7652ea0cff8f2db7259d285ac98c582bf15b62
    (cherry picked from commit 32c96b1b6c340c10a12d6f598268198083681031)