heat/heat
Zane Bitter e5707618f3 Avoid always loading nested stack on update
Previously, when calling StackResource._validate_nested_resources() (which
we do whenever we create or update a nested stack), we would load the
nested stack into memory to validate the number of resources in the nested
stack, unless the max_resources_per_stack config option was set to -1. This
meant we would load the nested stack into memory in the same engine as the
parent on every update.

To reduce the memory high-water mark, fetch the information we need over
RPC from another engine instead.

To ensure this is only called once, move the call into the validate code.
(Previously it was called again in the create/update itself.)

Change-Id: I78d12ecc8240c697e26893ae2d7172b60883fb93
Partial-Bug: #1731349
2018-01-08 18:19:10 -05:00
..
api [policy in code] part 6(cfn, cloudwatch) 2017-12-13 10:58:47 +08:00
cloudinit Validate that python3 is ready for loguserdata 2016-08-26 11:49:30 +00:00
cmd Enable mutable config in Heat 2017-05-17 05:25:56 +00:00
common Merge "Use correct raw string format" 2018-01-05 16:05:57 +00:00
db Merge "Speed up event listing with nested stacks" 2017-12-06 17:40:25 +00:00
engine Avoid always loading nested stack on update 2018-01-08 18:19:10 -05:00
hacking Restrict use of iteritems, iterkeys and itervalues 2016-03-23 10:05:54 +00:00
httpd Add httpd documentation and sample configs 2017-07-07 11:00:06 +05:30
locale Imported Translations from Zanata 2017-12-14 07:37:10 +00:00
objects Merge "Remove unused variable" 2017-12-13 07:28:43 +00:00
policies [policy in code] part 6(cfn, cloudwatch) 2017-12-13 10:58:47 +08:00
rpc Added tags attribute to the template parameter 2017-11-13 15:51:19 +05:30
scaling Remove log translations 2017-03-25 17:11:50 +08:00
tests Avoid always loading nested stack on update 2018-01-08 18:19:10 -05:00
__init__.py
version.py