Comment 2 for bug 1495449

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

Reviewed: https://review.openstack.org/223033
Committed: https://git.openstack.org/cgit/stackforge/senlin/commit/?id=232825ea94017085a00b666dd4e77bf6774bbd30
Submitter: Jenkins
Branch: master

commit 232825ea94017085a00b666dd4e77bf6774bbd30
Author: yanyanhu <email address hidden>
Date: Mon Sep 14 05:37:10 2015 -0400

    Fix a bug about add/del action dependency

    This patch uses session.refresh to get the lastest action record
    before each time updating action's dependency list to avoid
    possible desynchrony between different DB sessions. It also
    replaces the 'context' input parameter of _action_dependency_add
    method by 'query' parameter to unify the implementation of
    _action_dependency_del and _action_dependency_add methods.

    Change-Id: I126c72c2b28fe5ab18bd652d8106eb4ae070ff0e
    Closes-Bug: #1495449