diff options
author | Trey Morris <treyemorris@gmail.com> | 2012-07-31 18:20:35 -0500 |
---|---|---|
committer | Trey Morris <treyemorris@gmail.com> | 2012-07-31 18:26:58 -0500 |
commit | 0909c1cf68c78c6338799884f58755ab5ab52551 (patch) | |
tree | 81429845bfbe5e1424ab73847e53855202bc8c82 /nova/notifications.py | |
parent | 13c82f931f8220ebdcf561933bdd53799a4d8bb5 (diff) | |
download | nova-0909c1cf68c78c6338799884f58755ab5ab52551.tar.gz nova-0909c1cf68c78c6338799884f58755ab5ab52551.tar.xz nova-0909c1cf68c78c6338799884f58755ab5ab52551.zip |
Prevent instance_info_cache from being altered post instance
It turns out people have found ways to use the info cache everywhere.
The problem is when these ways require information about deleted
instances the info_cache may not be accurate.
This patch prevents the info_cache from being altered after it is
marked as deleted and marks an instance's info_cache as deleted
towards the beginning of the destroy process to ensure it doesn't
get blown away by a cache refresh somewhere along the way.
Change-Id: I0d5c2f1fc7e5f8f6c1154958986bb775ced07443
Diffstat (limited to 'nova/notifications.py')
0 files changed, 0 insertions, 0 deletions