]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Fix race condition in list_stacks
authorSteve Baker <sbaker@redhat.com>
Mon, 10 Dec 2012 03:18:26 +0000 (16:18 +1300)
committerSteve Baker <sbaker@redhat.com>
Tue, 11 Dec 2012 20:42:59 +0000 (09:42 +1300)
commit60ca97d3918a428a5a852e658e93a8c834fd366c
tree9a212bc1e587dad23f1ea877b6e2d564ff399358
parentf7ebdd863b3fae58ecd810955ffe0aac50189c79
Fix race condition in list_stacks

A stack may be deleted between querying the stacks to list and formatting
each stack.

This issue was found by concurrently creating and deleting 100 stacks
while running heat list.

Change-Id: I4a47bbdbde111454672c2579caf28b4675c3cf10
heat/engine/service.py