commit bc3b84fb609985511510aff2aee62dbf05268b81
Author: Steve Baker <email address hidden>
Date: Sat Aug 13 15:23:08 2016 +1200
A context cache for Resource objects
A context cache which memoizes the resources fetched by calls to
Resource.get_all_by_root_stack(..., cache=True)
which are recalled by subsequent calls to Resource.get_all_by_stack.
Because get_all_by_stack returns a collection instead of a single
resource, there is no way of taking advantage of the SQLAlchemy
identity map [1].
Reviewed: https:/ /review. openstack. org/317220 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=bc3b84fb609 985511510aff2ae e62dbf05268b81
Committed: https:/
Submitter: Jenkins
Branch: master
commit bc3b84fb6099855 11510aff2aee62d bf05268b81
Author: Steve Baker <email address hidden>
Date: Sat Aug 13 15:23:08 2016 +1200
A context cache for Resource objects
A context cache which memoizes the resources fetched by calls to get_all_ by_root_ stack(. .., cache=True) get_all_ by_stack.
Resource.
which are recalled by subsequent calls to Resource.
Because get_all_by_stack returns a collection instead of a single
resource, there is no way of taking advantage of the SQLAlchemy
identity map [1].
[1] http:// docs.sqlalchemy .org/en/ latest/ orm/session_ basics. html#is- the-session- a-cache
Change-Id: Ia5aae0c86a5860 41020e9798566c9 e0af48c180d
Partial-Bug: #1578854