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.
Reviewed: https:/ /review. openstack. org/223033 /git.openstack. org/cgit/ stackforge/ senlin/ commit/ ?id=232825ea940 17085a00b666dd4 e77bf6774bbd30
Committed: https:/
Submitter: Jenkins
Branch: master
commit 232825ea9401708 5a00b666dd4e77b f6774bbd30
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 dependency_ add dependency_ del and _action_ dependency_ add methods.
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_
method by 'query' parameter to unify the implementation of
_action_
Change-Id: I126c72c2b28fe5 ab18bd652d8106e b4ae070ff0e
Closes-Bug: #1495449