Comment 5 for bug 1817604

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

Reviewed: https://review.openstack.org/639420
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=9f49cfdfb21a51f479fe2d548d67b039ebc217bd
Submitter: Zuul
Branch: master

commit 9f49cfdfb21a51f479fe2d548d67b039ebc217bd
Author: Jude Cross <email address hidden>
Date: Tue Feb 26 11:20:21 2019 -0800

    Fix Senlin performance issues

    This patch fixes the interaction of Senlin with the database.
    The standard model_query (joinload_all('*')) has been removed
    in favor of using more distinctive join statements.

    Additionally this patch removes the DB calls that were baked into the
    to_dict() method for the Senlin objects and instead retrieves that
    data with joins/single database calls. This allows cluster action
    show to actually return within an appropriate amount of time.

    This patch improves performance all around with considerably less CPU
    usage.

    Closes-Bug: #1817604
    Change-Id: Ie5c1fca080c82833941edc130568e76701ce394c